R
R
RGoldvarg2017-08-10 20:45:26
Python
RGoldvarg, 2017-08-10 20:45:26

How to learn to work with API third-party services in Python?

Tell me please. How to work with foreign API in Python 3? For example, I want to get a list of goodreads books that I am currently reading.
They have an API for this. https://www.goodreads.com/api/
So far I don't quite understand how to work with it and how to handle their requests. I started getting acquainted with the requests library and BeautifulSoup, am I in the right direction and what can I read on this topic?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Impeeeery, 2017-08-10
@Impeeeery

requests - yes, BeautifulSoup - no, since api is what api is for, to return not html, but something more convenient - JSON, XML.
Alexander + is right, if there is either - a ready-made wrapper for api - then it is a priority, but if difficulties arise (for the first time it is hard to understand api) - then you can do without it first.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question