1 unstable release

0.0.1 Dec 29, 2022

#9 in #42

MIT license

36KB
679 lines

Fast42 - Rust Edition

A super fast 42 API connector

Makes it easy to fetch data from the 42 API. Main features:

  • Rate Limited
  • Async (easily fetch all pages of an endpoint!)
  • Fast 🚀

Running examples

  • Initialize your secrets.yaml file in the examples folder using the template from secrets_example.yaml
  • Run the example like this: cargo run --example users

TODO

  • add patch/put/post/delete
  • add scopes
  • [] add multi key support
  • [] implement doing requests with user access token
  • solve potential issues with duplicate http options (page[size])
  • [] publish to crates.io

lib.rs:

A super fast 42 API connector

Makes it easy to fetch data from the 42 API. Main features:

  • Rate Limited
  • Async (easily fetch all pages of an endpoint!)
  • Fast 🚀

Dependencies

~8–22MB
~321K SLoC