dragonfire535 / xiao

Xiao is a Discord bot coded in JavaScript with discord.js. With over 500 commands, she is one of the most feature-rich bots out there. Formerly XiaoBot.
Other
10 stars 3 forks source link

what r the apis #47

Closed overtimepog closed 4 years ago

overtimepog commented 4 years ago

Please describe the problem you are having in as much detail as possible: I have tried every api I can find to get the toxicity command to work. I really don't think its to hard to tell me where I can get the api keys cause what is "GOOGLE_KEY" very undescriptive and unhelpfull

Further details:

FirezTheGreat commented 4 years ago

go to google developers console and search Youtube Data API v3

overtimepog commented 4 years ago

I know the youtube data one I have that, its the GOOGLE_KEY in the .env im struggling to find

overtimepog commented 4 years ago

ok ive got the youtube command working but the toxicity command gives me

Oh no, an error occurred: 403 Forbidden. Try again later!

LordHarkon commented 4 years ago

bruh, IIRC, each command have credits, and the credits for this one goes to https://www.perspectiveapi.com/#/start I don't think it's hard to figure out what API key you need since if you take a look at their websites you'll see they use google to host their API.

overtimepog commented 4 years ago

Thank you I have a much better grasp on how google handles api’s now. Just one more thing though in the .env it says stuff like “Calendar_id” what does that mean?

LordHarkon commented 4 years ago

again, if you search for the calendar event, you'll see the credits point towards: https://developers.google.com/calendar/

dragonfire535 commented 4 years ago

The calendar ID is the email Google uses to subscribe to events in Google calendar. For example, US Events: en.usa#holiday@​group.v.calendar.google.com

dragonfire535 commented 4 years ago

Also, I'm not trying to be unhelpful when I don't provide steps for every single api. First of all, it would take forever, and not every api in Xiao is just click and go. Some have application processes. It would probably take me a very long time to make a giant tutorial for that, and I have a life outside of Xiao.

Xiao is not supposed to be self hosted. I don't care if people do it, but if they do, I expect them to be able to do it themselves. Otherwise, you might as well just use the regular bot. She's public for a reason.

dragonfire535 commented 4 years ago

https://github.com/dragonfire535/xiao#filling-out-your-env-file I ended up doing this, if you still need help finding any of the API keys.