{"id":15673400,"url":"https://github.com/jwebcoder/animapy","last_synced_at":"2025-05-12T19:26:51.945Z","repository":{"id":21681964,"uuid":"25003182","full_name":"JWebCoder/animapy","owner":"JWebCoder","description":"An anime API for python.","archived":false,"fork":false,"pushed_at":"2014-12-08T19:27:19.000Z","size":359,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T02:42:43.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JWebCoder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-09T18:37:17.000Z","updated_at":"2022-02-20T12:47:48.000Z","dependencies_parsed_at":"2022-08-17T23:15:35.369Z","dependency_job_id":null,"html_url":"https://github.com/JWebCoder/animapy","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/JWebCoder%2Fanimapy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JWebCoder%2Fanimapy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JWebCoder%2Fanimapy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JWebCoder%2Fanimapy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JWebCoder","download_url":"https://codeload.github.com/JWebCoder/animapy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253807380,"owners_count":21967351,"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-10-03T15:40:25.759Z","updated_at":"2025-05-12T19:26:51.914Z","avatar_url":"https://github.com/JWebCoder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Animapy\n=======\n\nAn anime API for python.\n\n##Installation\nRun `pip install Animapy`, or clone the repo and run `python setup.py install`.\n\n##Info\nThe PT subbed episodes comes from Anitube website.\n\nThe EN subbed episodes comes from NWanime website.\n\n##Usage:\n\n####To get the results of a search:\n```python\nfrom animapy import anime\n\nteste1 = anime.searchAnimes('naruto 382', quant=10)\nteste2 = anime.searchAnimes('naruto', quant=10, lang='en')\n\n\nprint '\\nPt Version:\\n'\nfor ep in teste1:\n    if ep != '':\n        print 'Title: ' + ep.title\n        print 'Image: ' + ep.image\n        print 'Normal: ' + ep.normal\n        if hasattr(ep, 'hd'):\n            print 'HD: ' + ep.hd\n        print '\\n'\n\nprint '\\n\\nEn Version:\\n'\nfor ep in teste2:\n    if ep != '':\n        print 'Title: ' + ep.title\n        print 'Image: ' + ep.image\n        if hasattr(ep, 'normal'):\n            print 'Normal: ' + ep.normal\n        print '\\n'\n```\n\n####To get just the title and images of a search:\n```python\nfrom animapy import anime\n\nteste1 = anime.searchAnimesMetadata('naruto 382', quant=3)\nteste2 = anime.searchAnimesMetadata('naruto', quant=3, lang='en')\n\n\nprint '\\nPt Version:\\n'\nfor ep in teste1:\n    if ep != '':\n        print 'Title: ' + ep.title\n        print 'Image: ' + ep.image\n        print '\\n'\n\nprint '\\n\\nEn Version:\\n'\nfor ep in teste2:\n    if ep != '':\n        print 'Title: ' + ep.title\n        print 'Image: ' + ep.image\n        print '\\n'\n```\n\n####To get just the link of the anime file:\n```python\nfrom animapy import anime\n\nteste1 = anime.getAnimeLinks('http://www.anitube.se/video/79734/Ai-Tenchi-Muyo--22')\nteste2 = anime.getAnimeLinks('http://www.nwanime.com/one-piece-episode-668/video/69a0b530b6b09a092bf0/', lang='en')\n\n\nprint '\\nPt Version:\\n'\nprint 'Normal: ' + teste1.normal\nif hasattr(teste1, 'hd'):\n    print 'HD: ' + teste1.hd\nprint '\\n'\n\nprint '\\n\\nEn Version:\\n'\nprint 'Normal: ' + teste2.normal\nprint '\\n'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwebcoder%2Fanimapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwebcoder%2Fanimapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwebcoder%2Fanimapy/lists"}