{"id":27155024,"url":"https://github.com/ryanlibs/sololearn-profile-fetcher","last_synced_at":"2026-02-14T22:30:51.663Z","repository":{"id":269819139,"uuid":"908524446","full_name":"ryanlibs/sololearn-profile-fetcher","owner":"ryanlibs","description":"A python script to fetch user profile information from sololearn API","archived":false,"fork":false,"pushed_at":"2025-01-22T06:17:46.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T17:52:07.284Z","etag":null,"topics":["sololearn","sololearn-api","sololearn-cert","sololearnapi"],"latest_commit_sha":null,"homepage":"https://sololearn-api.replit.app/?profile=","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanlibs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"buy_me_a_coffee":"ryanlibs","ko_fi":"ryanlibs","github":"ryanlibs"}},"created_at":"2024-12-26T09:30:34.000Z","updated_at":"2025-09-30T15:46:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"e206dd0a-ca00-4e80-916c-105cc9cb0836","html_url":"https://github.com/ryanlibs/sololearn-profile-fetcher","commit_stats":null,"previous_names":["ryanlibs/sololearn-profile-fetcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanlibs/sololearn-profile-fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlibs%2Fsololearn-profile-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlibs%2Fsololearn-profile-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlibs%2Fsololearn-profile-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlibs%2Fsololearn-profile-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanlibs","download_url":"https://codeload.github.com/ryanlibs/sololearn-profile-fetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlibs%2Fsololearn-profile-fetcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29458550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T21:29:27.764Z","status":"ssl_error","status_checked_at":"2026-02-14T21:28:11.111Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sololearn","sololearn-api","sololearn-cert","sololearnapi"],"created_at":"2025-04-08T18:56:50.275Z","updated_at":"2026-02-14T22:30:51.644Z","avatar_url":"https://github.com/ryanlibs.png","language":"Python","funding_links":["https://buymeacoffee.com/ryanlibs","https://ko-fi.com/ryanlibs","https://github.com/sponsors/ryanlibs","https://www.buymeacoffee.com/ryanlibs"],"categories":[],"sub_categories":[],"readme":"# sololearn-profile-fetcher\nA Python script to fetch user profile information from [Sololearn](https://www.sololearn.com).\n\n![MIT License](https://img.shields.io/badge/license-MIT-green)\n![Python Version](https://img.shields.io/badge/python-3.6%2B-blue)\n![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen)\n![Last Commit](https://img.shields.io/github/last-commit/ryanlibs/sololearn-profile-fetcher)\n![Issues](https://img.shields.io/github/issues/ryanlibs/sololearn-profile-fetcher)\n\n# Features\n\n## User Profile\n- Retrieve detailed user information including:\n  - User ID, name, avatar, and bio.\n  - User's registration date and country code.\n  - Access level, badges, and XP progress.\n  - Follower and following count.\n\n## Course Progress\n - Track progress for courses a user is enrolled in:\n  - Course name, icon, and completion status.\n  - Last progress update and percentage completed.\n\n## Certificates\n- Access earned certificates with details:\n  - Certificate name, associated course, and start date.\n  - Downloadable links for PDF and PNG formats.\n  - Shareable URLs for showcasing achievements.\n\n## Code Bits\n- View user-created code projects with:\n  - Programming language used.\n  - Public visibility and last modified date.\n  - Unique public IDs for sharing.\n\n## Goals and Streaks\n- Monitor user goals and progress:\n  - Target values and current completion levels.\n  - Daily streak counts and historical streak data.\n\nand more...\n\n## Usage\nEndpoint:\n```sh\nhttps://sololearn-api.replit.app/?profile=\u003cprofile_id\u003e\n```\nExample:\n```sh\nhttps://sololearn-api.replit.app/?profile=33173273\n```\n\nOR\n\nRun the script with the profile ID of the user whose data you want to fetch:\n\n```bash\npython main.py \u003cprofile_id\u003e\n```\n\nExample:\n\n```bash\npython main.py 33173273\n```\n\n## Output \n\n```json\n{\n  \"userDetails\": {\n    \"id\": \"profileID\",\n    \"name\": \"name\",\n    \"email\": null,\n    \"avatarUrl\": \"avatarUrl\",\n    \"accessLevel\": 0,\n    \"badge\": \"badge\",\n    \"badges\": [\n      {\n        \"name\": \"badgeName\",\n        \"priority\": \"badgePriority\"\n      }\n    ],\n    \"level\": \"userLevel\",\n    \"xp\": \"userXP\",\n    \"countryCode\": \"countryCode\",\n    \"isPro\": \"isPro\",\n    \"isFirstVisitAfterTrialAsPro\": false,\n    \"followers\": \"followerCount\",\n    \"following\": \"followingCount\",\n    \"isFollowing\": false,\n    \"bio\": \"bio\",\n    \"registerDate\": \"registerDate\",\n    \"connectedAccounts\": [\n      {\n        \"connectionId\": \"connectionID\",\n        \"service\": \"serviceName\",\n        \"name\": \"accountName\",\n        \"profileUrl\": null,\n        \"isVisible\": true,\n        \"syncDate\": null,\n        \"avatarUrl\": \"accountAvatarUrl\"\n      }\n    ]\n  },\n  \"coursesProgress\": [\n    {\n      \"courseId\": \"courseID\",\n      \"courseName\": \"courseName\",\n      \"courseIconURL\": \"courseIconURL\",\n      \"courseColor\": \"courseColor\",\n      \"isCompleted\": \"isCompleted\",\n      \"lastProgressDate\": \"lastProgressDate\",\n      \"progress\": \"progressValue\",\n      \"isLearnEngineCourse\": \"isLearnEngineCourse\",\n      \"alias\": null,\n      \"statusId\": \"statusID\"\n    }\n  ],\n  \"certificates\": [\n    {\n      \"courseId\": \"courseID\",\n      \"name\": \"certificateName\",\n      \"courseColor\": \"courseColor\",\n      \"iconURL\": \"iconURL\",\n      \"startDate\": \"startDate\",\n      \"expireDate\": null,\n      \"url\": \"certificatePDFUrl\",\n      \"imageUrl\": \"certificateImageUrl\",\n      \"uncompleteUrl\": null,\n      \"shareUrl\": \"shareUrl\"\n    }\n  ],\n  \"userGoals\": [],\n  \"userStreak\": {\n    \"streak\": \"streakCount\",\n    \"streakDate\": \"streakDate\"\n  },\n  \"codeCoaches\": null,\n  \"userBadges\": null,\n  \"userCodes\": [\n    {\n      \"id\": \"id\",\n      \"publicId\": \"publicId\",\n      \"language\": \"language\",\n      \"name\": \"name\",\n      \"isPublic\": \"isPublic\",\n      \"modifiedDate\": \"modifiedDate\"\n    }\n  ],\n  \"userGoalProgress\": [\n    {\n      \"id\": \"id\",\n      \"userGoalId\": \"userGoalId\",\n      \"currentValue\": \"currentValue\",\n      \"targetValue\": \"targetValue\",\n      \"localDate\": \"localDate\",\n      \"date\": \"date\"\n    }\n  ],\n  \"userLessonGoals\": [\n    {\n      \"id\": \"id\",\n      \"userId\": \"userId\",\n      \"goalType\": \"goalType1\",\n      \"goalValue\": \"goalValue\",\n      \"origin\": \"origin\",\n      \"localDate\": \"localDate\",\n      \"date\": \"date\"\n    }\n  ],\n  \"userDailyStreak\": {\n    \"dailyStreakCount\": \"dailyStreakCount\",\n    \"dailyStreaks\": [\n      {\n        \"status\": \"dailyStreakStatus\"\n      }\n    ]\n  },\n  \"groupSubscription\": null\n}\n```\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n## Contributing\nContributions are welcome! Please open an issue or submit a pull request if you have ideas or fixes.\n\n## Support\n\nIf you find this script useful and want to support my caffeine addiction, please consider buying me a coffee! ☕😁\n\n[![Buy Me a Coffee](https://img.shields.io/badge/Support-Buy%20Me%20a%20Coffee-orange?logo=buymeacoffee)](https://www.buymeacoffee.com/ryanlibs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanlibs%2Fsololearn-profile-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanlibs%2Fsololearn-profile-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanlibs%2Fsololearn-profile-fetcher/lists"}