This is an API I made for the anime girls holding programming books github repo because I was bored.
It's a rewrite of the old API but written in Python using the Fast API library instead.
It scrapes a local copy of the repo and thanks to that I was able to implement headers like Book-Date-Added (returns the date and time a book was added).
oh yeah also check out our π cousin API (anime girls and computers): https://github.com/r3tr0ananas/agac-api
Pick the closest instance to you for FASTER ANIME GIRLS!
| Country | URL | Hosted by | Notes |
|---|---|---|---|
| π¬π§ | https://api.devgoldy.xyz/aghpb/v1 |
me | β Official Instance |
| πΈπͺ | https://aghpb.zeeraa.net |
Zeeraa | |
| π«π· | https://aghpb.thenolle.com |
Nolly | |
| π©πͺ | https://aghpb.amoe.cloud |
Ananas |
You can also use these instances as backups in case my servers at https://api.devgoldy.xyz go down.
I was also even more bored so I decided to write an API wrapper in every mfing language I can possible, including those I've never really written in.
These are the languages I've written so far:
- π¦ Rust -
aghpb.rs(async) - π¦ TypeScript -
aghpb.ts(async) - β« C -
aghpb.c(might blow up) - π Lua -
aghpb.lua
Then here are some community-made api wrappers ( thanks π ):
- β Java -
AGHPB4J
Some fellow developers in the community also got bored so they made some clients:
- AGHPB Frontend Web Page ~ Bringing anime girls holding programming books to your browser!
- AGHPB Vencord Plugin ~ A vencord command to send anime girls holding programming books directly from your discord client.
A short and quick guide on hosting your own instance of AGHPB API...
Note
If you're not on an x86 architecture, you will need to build an image instead as our docker image currently does not support other architectures.
Hosting an instance of the AGHPB API is straightforward and recommended with Docker:
- Pull our docker image.
docker pull devgoldy/aghpb_api:latestOr build the image yourself from source:
git clone https://github.com/THEGOLDENPRO/aghpb-api cd aghpb-api docker buildx build -t devgoldy/aghpb_api:latest .
- You can use docker run to spin up a quick container on
localhostport8000.
docker run -p 127.0.0.1:8000:8000/tcp devgoldy/aghpb_api:latest- Now you can visit
localhost:8000in your browser and the API docs should be up! π
You can also spin it up as a service in docker compose with the yaml below.
Note
If you're not on an x86 architecture, you will need to build the image instead:
aghpb-api:
build: https://github.com/THEGOLDENPRO/aghpb-api.git#v1.4.17
ports:
- 8000:8000aghpb-api:
image: devgoldy/aghpb_api:latest
ports:
- 8000:8000