This is a Python API designed to interact with the FitGirl Repacks website (https://fitgirl-repacks.site/), a popular source for free game repacks. The API provides functionality to retrieve new posts, search for specific games, and obtain download links.
-
New Posts:
- Retrieves the latest game posts from FitGirl Repacks.
- Returns a JSON object containing the URLs and titles of the latest games.
-
Search:
- Searches for games based on the provided query.
- Returns a JSON object with the URLs and titles of the matching games.
-
Download:
- Retrieves download links for a specific game.
- Returns a JSON object with download URLs and titles.
Before using the API, make sure to install httpx. You can install it using the following command:
pip install httpx
-
New Posts:
from fitgirl_api import FitGirl new_posts = FitGirl.new_posts() print(new_posts)
-
Search:
from fitgirl_api import FitGirl search_results = FitGirl.search("your_query_here") print(search_results)
-
Download:
from fitgirl_api import FitGirl download_links = FitGirl.download("your_query_here") print(download_links)
- This API uses either the
httpx
lbrary. - In case of errors, the API returns a JSON object with the status and an error message.
Feel free to explore and integrate this API into your projects to enhance your experience with FitGirl Repacks. For more information on FitGirl Repacks, visit their official website: FitGirl Repacks.