Answer the question
In order to leave comments, you need to log in
How to get open data via api using python?
Can you please show me a code example of how using python (requests library) I can get public data on the respective sites? For example, the methods are described here: data.gov.spb.ru/developers , but I do not understand exactly how it will look in the script.
For example, how to authorize using a token and get the required set?
Answer the question
In order to leave comments, you need to log in
"The token is transferred to the HTTP Header in the format "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b"" - written in Russian in white.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question