+ 13
Can you help me get started with this project idea?
I want to make a simple little website that displays my Sololearn data (completed tutorials, challenge stats, comments, codes, etc). Ideally, I would want the data on my page to update when the data on my sololearn app updates. Screenshots be damned! I believe there is no publically available Sololearn API. Does any one have any tips on how to accomplish this? Where should I get started to learn how to make this happen?
4 Respostas
+ 10
@Chloe Thank you!! Gives me a direction to head out from. I appreciate it.
+ 4
Look, this is your profile URL: https://www.sololearn.com/Profile/4112890/?ref=app
You could write a php-script, which periodically copies the html from there via file_get_contents. If you feed that into a DOMDocument, you might be able to extract the relevant data. :)
+ 2
although i don't know js. i believe that you can web scrape data from your profile and display it. Also you could make a program which will update those data after some pre defined time.
+ 2
My pleasure! Let me know if it works.
These might help:
http://php.net/manual/en/domdocument.loadhtml.php
http://php.net/manual/en/function.file-get-contents.php