{"id":22883130,"url":"https://github.com/sachaa-thanasius/atlas-api-wrapper","last_synced_at":"2025-10-25T12:11:52.448Z","repository":{"id":199926536,"uuid":"618929902","full_name":"Sachaa-Thanasius/atlas-api-wrapper","owner":"Sachaa-Thanasius","description":"A simple asynchronous wrapper for Iris's Atlas API.","archived":false,"fork":false,"pushed_at":"2024-02-29T18:11:37.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T22:14:45.713Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sachaa-Thanasius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-03-25T18:58:51.000Z","updated_at":"2023-03-25T20:06:06.000Z","dependencies_parsed_at":"2023-10-13T21:07:46.118Z","dependency_job_id":"b54d5b00-d871-41b5-86d6-070768b1ab3c","html_url":"https://github.com/Sachaa-Thanasius/atlas-api-wrapper","commit_stats":null,"previous_names":["sachaa-thanasius/atlas-api-wrapper"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachaa-Thanasius%2Fatlas-api-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachaa-Thanasius%2Fatlas-api-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachaa-Thanasius%2Fatlas-api-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachaa-Thanasius%2Fatlas-api-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sachaa-Thanasius","download_url":"https://codeload.github.com/Sachaa-Thanasius/atlas-api-wrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246500408,"owners_count":20787693,"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-12-13T18:32:28.944Z","updated_at":"2025-10-25T12:11:52.395Z","avatar_url":"https://github.com/Sachaa-Thanasius.png","language":"Python","readme":"# Atlas API Wrapper\nA small asynchronous wrapper for Iris's Atlas API, made to retrieve story metadata from FanFiction.Net (or FFN).\n\nNote: The authentication credentials necessary to actually access the API aren't included. For those, talk to [Iris](https://github.com/iridescent-beacon). For a description of the API being wrapped, see Iris's OpenAPI-style specification [here](https://redocly.github.io/redoc/?url=https://atlas.fanfic.dev/openapi.yaml).\n\n\n## Installing\n**atlas-api-wrapper currently requires Python 3.8 or higher.**\n\nTo install the library, run one of the following commands:\n\n```shell\n# Linux/macOS\npython3 -m pip install -U git+https://github.com/Sachaa-Thanasius/atlas-api-wrapper\n\n# Windows\npy -3 -m pip install -U git+https://github.com/Sachaa-Thanasius/atlas-api-wrapper\n```\n\n\n## Documentation\nSee the docstrings in the source code.\n\n\n## Example\nFor more examples, see the [examples folder](https://github.com/Sachaa-Thanasius/atlas-api-wrapper/examples).\n\n```python\nimport asyncio\nimport aiohttp\nimport atlas_api as atlas\n\nasync def main():\n    async with aiohttp.ClientSession() as session:\n        client = atlas.Client(\n            session=session,\n            auth=aiohttp.BasicAuth(\"login\", \"password\")\n        )\n        url = \"https://www.fanfiction.net/s/13912800/1/Magical-Marvel\"\n        story_metadata = await client.get_story_metadata(atlas.extract_fic_id(url))\n        print(\n            f\"Story Metadata (link: '{story_metadata.url}')\\n\",\n            f\"    {story_metadata.id}: {story_metadata.title}\\n\",\n            f\"        {story_metadata.description}\\n\"\n        )\n\nasyncio.run(main())\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachaa-thanasius%2Fatlas-api-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachaa-thanasius%2Fatlas-api-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachaa-thanasius%2Fatlas-api-wrapper/lists"}