Allvaa / nekobot-api

NekoBot API wrapper for Node.js
https://allvaa.github.io/nekobot-api
MIT License
21 stars 5 forks source link

API help #28

Closed Nsadow311 closed 4 years ago

Nsadow311 commented 4 years ago

The API does not sends images... I am using JS

Allvaa commented 4 years ago

um. what error?

Nsadow311 commented 4 years ago

I dont get anything from the API, I do nekobot.xyz/api/image?coffee plop it into my code where the URL would go and I dont get anything at all... There is not error that is stated in the console, all I get is a message from my bot saying "Ummm something is not right try again later" if the status code does not equal 200

Allvaa commented 4 years ago

well you missed the type param. try nekobot.xyz/api/image?type=coffee

Nsadow311 commented 4 years ago

Oh my god, I didn't even think of that, thank you Alva

On Sat, Jul 18, 2020 at 10:28 AM Alva notifications@github.com wrote:

well you missed the type param. try nekobot.xyz/api/image?type=coffee

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Allvaa/nekobot-api/issues/28#issuecomment-660491281, or unsubscribe https://github.com/notifications/unsubscribe-auth/APEK4DT2K3WIELTSLHNCPN3R4GWR7ANCNFSM4OXVCWPQ .

Allvaa commented 4 years ago

no prob