{"id":13718478,"url":"https://github.com/coolq1000/devrant-python-api","last_synced_at":"2025-05-07T10:32:12.049Z","repository":{"id":93690927,"uuid":"101521077","full_name":"coolq1000/devrant-python-api","owner":"coolq1000","description":"Another unofficial https://www.devrant.io api","archived":false,"fork":false,"pushed_at":"2017-08-28T00:14:39.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T01:11:23.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coolq1000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-27T00:33:12.000Z","updated_at":"2019-08-17T13:31:50.000Z","dependencies_parsed_at":"2023-03-14T15:30:14.567Z","dependency_job_id":null,"html_url":"https://github.com/coolq1000/devrant-python-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolq1000%2Fdevrant-python-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolq1000%2Fdevrant-python-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolq1000%2Fdevrant-python-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolq1000%2Fdevrant-python-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolq1000","download_url":"https://codeload.github.com/coolq1000/devrant-python-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224585571,"owners_count":17335878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-03T01:00:28.826Z","updated_at":"2024-11-14T07:31:21.315Z","avatar_url":"https://github.com/coolq1000.png","language":"Python","readme":"# devrant-python-api\n\nAnother unofficial https://www.devrant.io api.\n\n## Installation\nTo include this into your project, it is very simple, all you must do is download(clone) this repo, and extract it in the same directory as your project, then import it.\n\nHere is what your directory tree should look a little like.\n```\nProject/\n  DevrantAPI/\n    devrant.py\n  scriptthatispartoftheproject.py\n  ..etc.\n```\n\n## Usage\nTo use this library, you must first import it.\n```python\nfrom Devrant import devrant\n```\n\nNow we can create our devrant object.\n```python\ndr = devrant.Devrant()\n```\n\nThen we can call some functions.\n```python\ndr.get_rants('SORT', LIMIT, SKIP)\ndr.get_rant('SORT', INDEX)\ndr.get_user_id('NAME')\ndr.get_profile(ID)\ndr.get_search('TERM')\n```\n\n## Options\nThere are a few different options to choose from, in the above example you may have noticed `SORT`, `LIMIT`..etc.\nThese are options, here are what you can choose from.\n```\nget_rants():\n  SORT - STRING:\n    algo,\n    recent,\n    top\n  LIMIT - INTEGER:\n    0-50\n  SKIP - INTEGER:\n    0-~788\nget_rant():\n  SORT - STRING:\n    algo,\n    recent,\n    top\n  INDEX - INTEGER:\n    0-~788\nget_user_id():\n  NAME - STRING:\n    ANY STRING\nget_profile():\n  ID - INTEGER:\n    0-?\nget_search():\n  TERM - STRING:\n    ANY STRING\n```\n\nIf you are stuck you may look at the demo at the bottom of the api script.\n\nHope this API comes in handy!\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolq1000%2Fdevrant-python-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolq1000%2Fdevrant-python-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolq1000%2Fdevrant-python-api/lists"}