Fortnite-API / py-wrapper

Python implementation for https://fortnite-api.com
https://fortnite-api.rtfd.org/en/latest
MIT License
40 stars 17 forks source link

Library Rewrite #11

Closed trevorflahardy closed 6 months ago

trevorflahardy commented 2 years ago

Library Rewrite

This PR is dedicated to the improvement and optimization of the Fortnite-api py-wrapper. It will include updates to type hinting, readability, speed, and many other items. It will allow the user to use the API both synchronously and asynchronously using the two clients given to you. Docs will also be built to assist the user in using the API.

from fortnite_api import FortniteAPI, SyncFortniteAPI

FortniteAPI().fetch_aes()
await AsyncFortniteAPI().fetch_aes()

Progress and Goals

The goal is to reshape the library to be an asynchronous library with synchronous functionality. As asynchronous Python becomes the standard for many large-scale applications that depend on this API, this step is a natural step in that direction.

Luc1412 commented 2 years ago

TODO:

trevorflahardy commented 2 years ago

Create an examples directory

Just a heads up, this will be one of the last things I'll do.