Sign inSign up

lordlumineer/throne-api

By lordlumineer

Updated almost 3 years ago

FastAPI for Throne Wishlist data. Deploy with Docker for instant Wishlist information.

Image
0

3.3K

lordlumineer/throne-api repository overview

fullLogoSideTxtRBGB

ThroneAPI

ThroneAPI is a FastAPI-based API for retrieving information about the Throne wishlist. It provides endpoints to fetch various details such as raw wishlist data, user information, collections, items, previous gifts, and more.

Getting Started

You can find ThroneAPI code on GitHub if you want to look into the code.

Deploy with Docker

Copy code
docker run -p 8000:8000 your-docker-hub-username/throne-api
Access the API at http://localhost:8000/docs for interactive documentation.

Deploy with docker-compose

version: "3"
services:
  throneapi:
    image: lordlumineer/throne-api:latest
    ports:
      - 8000:8000
docker-compose up -d

1. Features (Endpoints)

  • Raw Data Endpoints:

    • /rawData/Gifted: Get raw gifted data for a Throne user.
    • /rawData/Wishlist: Get raw wishlist data for a Throne user.
  • Cleaned Data Endpoint:

    • /getCleaned: Get cleaned and organized data for a Throne user, combining gifted and wishlist information.
  • User Information Endpoints:

    • /user/Info: Get general information about a Throne user.
    • /user/Socials: Get social media information of a Throne user.
    • /user/Categories: Get categories associated with a Throne user.
    • /user/Interests: Get interests of a Throne user.
  • Collections Endpoints:

    • /collections: Get collections associated with a Throne user.
    • /collections/Detailed: Get detailed information about collections.
    • /collections/Collection: Get details about a specific collection.
    • /Collections/Items: Get items associated with a specific collection.
  • Items Endpoints:

    • /items: Get items associated with a Throne user.
    • /items/Detailed: Get detailed information about items.
    • /items/Item: Get details about a specific item.
  • Previous Gifts Endpoints:

    • /previousGifts: Get previous gifts associated with a Throne user.
    • /previousGifts/Detailed: Get detailed information about previous gifts.
    • /previousGifts/Gift: Get details about a specific previous gift.
    • /previousGifts/latest: Get information about the latest previous gift.
    • /previousGifts/total: Get the total number of previous gifts.
  • Gifters Endpoints:

    • /gifters/latest: Get information about the latest gifter.
    • /gifters/last20: Get the last 20 gifters.
    • /gifters/all: Get information about all gifters.
    • /gifters/leaderboard: Get the gifter leaderboard for a specific time period.
  • Testing Endpoint:

    • /version: Get the current version of the API.
    • /test: Test endpoint for checking the functionality, providing an option for currency conversion.
    • /ping/throne: Get information about the ping to the Throne servers.

2. Issues

If you encounter any issues, discrepancies, or have suggestions for improvement, please feel free to open an issue on the GitHub repository. Before opening a new issue, please check if a similar issue already exists.

When reporting issues, consider providing the following details:

  • A clear and descriptive title for the issue.
  • Steps to reproduce the problem.
  • Details about your environment (e.g., operating system, Python version).
  • Screenshots, if applicable.
  • Any error messages or stack traces.
  • Your feedback is valuable in enhancing the functionality and reliability of the API. Thank you for your contribution!

3. Disclaimer

This project is not affiliated with Throne in any way. It is an unofficial API for Throne.

Note: This API is developed by a single enthusiast, and while efforts have been made to ensure its functionality and reliability, it is important to note that I am not a professional. There may be better or more efficient ways to implement certain features. Users are encouraged to provide feedback, suggestions, and open issues if they encounter any issues or have recommendations for improvements.

Please use this API responsibly, and be aware that it will not cover all edge cases or scenarios. Your understanding and collaboration are appreciated.

4. License

This project is licensed under the MIT License - see the LICENSE.md file for details.

MIT License

Copyright (c) 2023 LordLumineer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Tag summary

Content type

Image

Digest

sha256:7ee3b1907

Size

382.4 MB

Last updated

almost 3 years ago

docker pull lordlumineer/throne-api