Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on how to implement this #2

Open
Snidd opened this issue Sep 27, 2021 · 5 comments
Open

Question on how to implement this #2

Snidd opened this issue Sep 27, 2021 · 5 comments

Comments

@Snidd
Copy link

Snidd commented Sep 27, 2021

Hi,

Awesome typing, i'm trying to wrap my head around how to implement this with fetch, and adding headers to the calls.

But i can't figure out how to use the typing in an actual method that does the calls, could you give an example or point me in the right direction? :)

@bprager
Copy link

bprager commented Feb 1, 2022

Same question. It looks like great concept.
How do I implement something using the BookLibrary interface? A little example would be helpful. Thank you.

@pablo-rufat-secture
Copy link

Anything on this?

@cainthebest
Copy link

I based a api wrapper on it kinda
https://github.com/cainthebest/nitrado.js

@pablo-rufat-secture
Copy link

Thank you so much!

@claudiomed
Copy link

Does anybody have an example on how to implement this? @cainthebest 's repo looks like has been deleted and I am trying to figure out how this is implemented with Axios, for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants