#πŸ”’ Adding an API

15 messages Β· Page 1 of 1 (latest)

mighty panther
#

I just subscribed an api and am trying to use it in my python, but when i run the code it says I am not subscribed to this api, how can i show that i am

weak idolBOT
#

@mighty panther

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

mighty panther
latent tusk
mighty panther
#

yes it said i am now subscribed i definetly did

opal sphinx
#

I'm not familiar with RapidAPI but generally when you subscribe to a service like this, they will give you an API key which you include with your requests

#

you might need to include that in your code somewhere as well

latent tusk
#

But for some reason it's not working.

opal sphinx
#

perhaps if OP posted some of their code we would be able to help more effectively

latent tusk
#

you subscribed to the api with that blue button?

mighty panther
#

i believe that was the problem, i just input that code and it seems to be working, ill update in a few when i am for sure

weak idolBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.