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

Changing the url from mashape to RapidAPI #8

Open
Lalemadahali opened this issue Jun 4, 2020 · 3 comments
Open

Changing the url from mashape to RapidAPI #8

Lalemadahali opened this issue Jun 4, 2020 · 3 comments

Comments

@Lalemadahali
Copy link

Lalemadahali commented Jun 4, 2020

Is it possible to change the URL from Mashape to RapidAPI?

result = POST("https://osome-botometer.p.mashape.com/2/check_account",
encode="json",
add_headers(X-Mashape-Key=Mashape_key),
body=body_json)

to

result = POST("https://botometer-pro.p.rapidapi.com/2/check_account",
encode="json",
add_headers(X-Mashape-Key=Mashape_key),
body=body_json)

@jhemsley
Copy link

jhemsley commented Jul 3, 2020

This only works for pro accounts? I get null when I try this. Any plan to keep botcheck updated?

@coelhocao
Copy link

I made a pull request with updated connection to rapidAPI url.

also changed the function to return the list of display_score both for english language and universal so non-english twitter accounts be be more confidently evaluated
33f630a

@j-anderson-sci-comm
Copy link

I made a pull request with updated connection to rapidAPI url.

also changed the function to return the list of display_score both for english language and universal so non-english twitter accounts be be more confidently evaluated 33f630a

I tried running the code you wrote but got the following error:

Error in curl::curl_fetch_memory(url, handle = handle) :
Could not resolve host: osome-botometer.p.mashape.com

has anyone recently tried making a request to the Botometer API?

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

4 participants