This project gets the scratch api. Everything in this project code by me. Big thanks to TimMcCool(Scratcher) for example codes. (This project is not related to TimMcCool)<br>
Install: `pip install tscratchapiget`<br>
Change log: https://github.com/Tony14261/tscratchapiget/blob/main/changelog.md<br>
Report bugs or request new features here: https://github.com/Tony14261/tscratchapiget/issues<br>
Contact me (Discord): tony14261<br>
<br>
Note: New things are at the top from now on!<br>
Remember to import tscratchapiget: ```from tscratchapiget import *```<br>
**Studio features(v0.4.1 to v0.4.5)**<br>
Fill in the [Studio ID] with the ID of a studio<br>
- Get a studio title ```studio.title("[Studio ID]")```<br>
- Get a studio description ```studio.description("[Studio ID]")```<br>
- Get if comments are allowed in the studio ```studio.comments_allowed([Studio ID])```<br>
- Get studio create date ```studio.created([Studio ID])```<br>
- Get studio number of followers ```studio.followers([Studio ID])```<br>
- Get studio number of projects ```studio.projects([Studio ID])```<br>
<br>
**Project features(v0.3.6)**<br>
Fill in the [Project ID] with the ID of a project<br>
- Get a project title ```title('[Project_ID]')``` EX: ```project.title('105500895')```<br>
- Get a project description ```description('[Project_ID]')``` EX: ```project.description('105500895')```<br>
- Get a project views ```views('[Project_ID]')``` EX: ```project.views('105500895')```<br>
- Get a project loves ```loves('[Project_ID]')``` EX: ```project.loves('105500895')```<br>
- Get a project favorites ```favorites('[Project_ID]')``` EX: ```project.favorites('105500895')```<br>
- Get a project remixes ```remixes('[Project_ID]')``` EX: ```project.remixes('105500895')```<br>
- Get if a project exists ```exists('[Project_ID]')``` EX: ```project.exists('105500895')``` This check returns to your terminal<br>
- Open a project in a web browser ```open('[Project_ID]')``` EX: ```project.open('105500895')```<br>
<br>
**User features(v0.2.7 to v0.3.0)** (New commands are at the top):<br>
- Get if a username exists ```exists([username])``` EX: ```user.exists('Scratch_Tony_14261')``` if yes: Return 'User exists' if not: Return 'User does not exist'<br>
- Get a user unread-message-count ```message_count('[user]')``` EX: ```user.message_count('TimMcCool')```<br>
- Get a user id ```id('[user]')``` EX: ```user.id('griffpatch')```<br>
- Get if a user is a scratchteam ```scratchteam('[user]')``` EX: ```user.scratchteam('ScratchCat')``` #Return 'True'<br>
- Get user join date ```join('[user]')``` EX: ```user.join('Will_Wam')```#Return '2013-11-25T19:52:29.000Z'<br>
- Get a user pfp(link) ```pfp_link('[user]')``` EX: ```user.pfp_link('Scratch_Tony_14261')``` +Bonus Feature: Open that pfp link in browser. Change that to ```pfp_link_open('[Username]')```<br>
- Get user About-Me section ```aboutme('[user]')``` EX: ```user.aboutme('WazzoTV')```<br>
- Get user What-I'm-Working-On section ```wiwo('[username]')``` EX: ```user.wiwo('ceebee')```<br>
- Get user country ```country(['user]')``` EX: ```user.country(['')```<br>
- Get user follower count ```followers('[user]')``` Ex: ```user.followers('sharkyshar')```<br>
- Get user following count ```following('[user]')``` EX: ```user.followers('atomicmagicnumber')```<br>
<br>
<br>
<br>
**Credits**:<br>
- TimMcCool for some codes from his Scratchattach library <br>
- Required libraries: json, requests, webbrowser
More comming soon!
Raw data
{
"_id": null,
"home_page": "https://github.com/Tony14261/tscratchapiget",
"name": "tscratchapiget",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "scratchapi,scratchapiget,scratch,tscratchapiget,api",
"author": "Tony",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/68/be/20baf353912970913883c2972e14d8747821d1ba3f23509f008e6bbb73b0/tscratchapiget-0.4.7.tar.gz",
"platform": null,
"description": "This project gets the scratch api. Everything in this project code by me. Big thanks to TimMcCool(Scratcher) for example codes. (This project is not related to TimMcCool)<br>\r\nInstall: `pip install tscratchapiget`<br>\r\nChange log: https://github.com/Tony14261/tscratchapiget/blob/main/changelog.md<br>\r\nReport bugs or request new features here: https://github.com/Tony14261/tscratchapiget/issues<br>\r\nContact me (Discord): tony14261<br>\r\n<br>\r\nNote: New things are at the top from now on!<br>\r\n\r\nRemember to import tscratchapiget: ```from tscratchapiget import *```<br>\r\n**Studio features(v0.4.1 to v0.4.5)**<br>\r\n Fill in the [Studio ID] with the ID of a studio<br>\r\n - Get a studio title ```studio.title(\"[Studio ID]\")```<br>\r\n - Get a studio description ```studio.description(\"[Studio ID]\")```<br>\r\n - Get if comments are allowed in the studio ```studio.comments_allowed([Studio ID])```<br>\r\n - Get studio create date ```studio.created([Studio ID])```<br>\r\n - Get studio number of followers ```studio.followers([Studio ID])```<br>\r\n - Get studio number of projects ```studio.projects([Studio ID])```<br>\r\n <br>\r\n**Project features(v0.3.6)**<br>\r\n Fill in the [Project ID] with the ID of a project<br>\r\n - Get a project title ```title('[Project_ID]')``` EX: ```project.title('105500895')```<br>\r\n - Get a project description ```description('[Project_ID]')``` EX: ```project.description('105500895')```<br>\r\n - Get a project views ```views('[Project_ID]')``` EX: ```project.views('105500895')```<br>\r\n - Get a project loves ```loves('[Project_ID]')``` EX: ```project.loves('105500895')```<br>\r\n - Get a project favorites ```favorites('[Project_ID]')``` EX: ```project.favorites('105500895')```<br>\r\n - Get a project remixes ```remixes('[Project_ID]')``` EX: ```project.remixes('105500895')```<br>\r\n - Get if a project exists ```exists('[Project_ID]')``` EX: ```project.exists('105500895')``` This check returns to your terminal<br>\r\n - Open a project in a web browser ```open('[Project_ID]')``` EX: ```project.open('105500895')```<br>\r\n <br>\r\n**User features(v0.2.7 to v0.3.0)** (New commands are at the top):<br>\r\n - Get if a username exists ```exists([username])``` EX: ```user.exists('Scratch_Tony_14261')``` if yes: Return 'User exists' if not: Return 'User does not exist'<br>\r\n - Get a user unread-message-count ```message_count('[user]')``` EX: ```user.message_count('TimMcCool')```<br>\r\n - Get a user id ```id('[user]')``` EX: ```user.id('griffpatch')```<br>\r\n - Get if a user is a scratchteam ```scratchteam('[user]')``` EX: ```user.scratchteam('ScratchCat')``` #Return 'True'<br>\r\n - Get user join date ```join('[user]')``` EX: ```user.join('Will_Wam')```#Return '2013-11-25T19:52:29.000Z'<br>\r\n - Get a user pfp(link) ```pfp_link('[user]')``` EX: ```user.pfp_link('Scratch_Tony_14261')``` +Bonus Feature: Open that pfp link in browser. Change that to ```pfp_link_open('[Username]')```<br>\r\n - Get user About-Me section ```aboutme('[user]')``` EX: ```user.aboutme('WazzoTV')```<br>\r\n - Get user What-I'm-Working-On section ```wiwo('[username]')``` EX: ```user.wiwo('ceebee')```<br>\r\n - Get user country ```country(['user]')``` EX: ```user.country(['')```<br>\r\n - Get user follower count ```followers('[user]')``` Ex: ```user.followers('sharkyshar')```<br>\r\n - Get user following count ```following('[user]')``` EX: ```user.followers('atomicmagicnumber')```<br>\r\n <br>\r\n<br>\r\n<br>\r\n\r\n**Credits**:<br> \r\n- TimMcCool for some codes from his Scratchattach library <br>\r\n- Required libraries: json, requests, webbrowser\r\n\r\nMore comming soon!\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A library can get scratch's api",
"version": "0.4.7",
"project_urls": {
"Homepage": "https://github.com/Tony14261/tscratchapiget"
},
"split_keywords": [
"scratchapi",
"scratchapiget",
"scratch",
"tscratchapiget",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dcb4123c4001ba8a15c1af4380fdc34f8cc724d3733072bf748efbd6f3ba1fc9",
"md5": "193a6eb3172b4dee6efa99a8b05a8006",
"sha256": "1df761f7eb93535a1a089b0344d4873835b05b0ffcfd42bcfead54fe285efaaf"
},
"downloads": -1,
"filename": "tscratchapiget-0.4.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "193a6eb3172b4dee6efa99a8b05a8006",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3269,
"upload_time": "2023-10-19T15:26:02",
"upload_time_iso_8601": "2023-10-19T15:26:02.946691Z",
"url": "https://files.pythonhosted.org/packages/dc/b4/123c4001ba8a15c1af4380fdc34f8cc724d3733072bf748efbd6f3ba1fc9/tscratchapiget-0.4.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "68be20baf353912970913883c2972e14d8747821d1ba3f23509f008e6bbb73b0",
"md5": "8963ba419fc723e3d66f9e702b583270",
"sha256": "828274d3ec2909f1c23070c853d959ef4707ab1da38ba1f218fc4b2870ff6116"
},
"downloads": -1,
"filename": "tscratchapiget-0.4.7.tar.gz",
"has_sig": false,
"md5_digest": "8963ba419fc723e3d66f9e702b583270",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3436,
"upload_time": "2023-10-19T15:26:05",
"upload_time_iso_8601": "2023-10-19T15:26:05.437861Z",
"url": "https://files.pythonhosted.org/packages/68/be/20baf353912970913883c2972e14d8747821d1ba3f23509f008e6bbb73b0/tscratchapiget-0.4.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-19 15:26:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Tony14261",
"github_project": "tscratchapiget",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tscratchapiget"
}