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

I made a nice API for this. #632

Open
THEGOLDENPRO opened this issue Nov 7, 2023 · 2 comments
Open

I made a nice API for this. #632

THEGOLDENPRO opened this issue Nov 7, 2023 · 2 comments

Comments

@THEGOLDENPRO
Copy link
Contributor

THEGOLDENPRO commented Nov 7, 2023

I know an API already exists for this at #121 but I felt it was a little too limiting for my needs and I was also too bored so I went out of my way to develop my own API at https://github.com/THEGOLDENPRO/aghpb_api

✨ My API provides a few extra but amazing features:

  • Book metadata > Image
    • The headers contain the exact time and date the book was added.
    • The book name is formatted respectfully.
    • We're able to extract the exact commit URL and author who last modified or added the Book.
  • You can search for books with the /search endpoint. > Image
  • A swagger documentation site where you can test the endpoints.

The API can be found at https://api.devgoldy.xyz/aghpb/v1/

Moving on I was even more bored so I decided to challenge myself with making an API wrapper for this in every language possible, the challenge is still in progress. Feel free to contribute and improve any of them as it's my first time programming in many of these languages so I may learn a heck lot from you like I did from previous commits.

  • 🦀 Rust - aghpb.rs
  • 🟦 TypeScript - aghpb.ts
  • ⚫ C - aghpb.c (not async, might blow up)
  • 🔥 Mojo - Soon™
  • 🔵 Go - Soon™
  • 🌕 Lua - aghpb.lua (not async)

This is the list I'll keep up to date however.

💛 Anyways, thanks for taking the time to read this, I hope you have a lovely rest of your day and also thank you ❤ so much guys for providing us with this masterpiece of a repository. ⭐

Book Metadata

image

Book Querying

image

@THEGOLDENPRO
Copy link
Contributor Author

Oh yeah, what do you think?

@cat-milk
Copy link
Owner

This is really cool, thanks for sharing it.

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

2 participants