{"action":"opened","issue":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/3500","repository_url":"https://api.github.com/repos/scrapy/scrapy","labels_url":"https://api.github.com/repos/scrapy/scrapy/issues/3500/labels{/name}","comments_url":"https://api.github.com/repos/scrapy/scrapy/issues/3500/comments","events_url":"https://api.github.com/repos/scrapy/scrapy/issues/3500/events","html_url":"https://github.com/scrapy/scrapy/issues/3500","id":382737007,"node_id":"MDU6SXNzdWUzODI3MzcwMDc=","number":3500,"title":"Fetch data from API inside Scrapy","user":{"login":"HelloEdit","id":25421857,"node_id":"MDQ6VXNlcjI1NDIxODU3","avatar_url":"https://avatars3.githubusercontent.com/u/25421857?v=4","gravatar_id":"","url":"https://api.github.com/users/HelloEdit","html_url":"https://github.com/HelloEdit","followers_url":"https://api.github.com/users/HelloEdit/followers","following_url":"https://api.github.com/users/HelloEdit/following{/other_user}","gists_url":"https://api.github.com/users/HelloEdit/gists{/gist_id}","starred_url":"https://api.github.com/users/HelloEdit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelloEdit/subscriptions","organizations_url":"https://api.github.com/users/HelloEdit/orgs","repos_url":"https://api.github.com/users/HelloEdit/repos","events_url":"https://api.github.com/users/HelloEdit/events{/privacy}","received_events_url":"https://api.github.com/users/HelloEdit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T16:11:35Z","updated_at":"2018-11-20T16:11:35Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am working on a project that is divided into two parts:\r\n\r\n- Retrieve a specific page\r\nOnce the ID of this page is extracted,\r\n- Send requests to an API to obtain additional information on this page\r\n\r\nFor the second point, and to follow Scrapy's asynchronous philosophy, where should such a code be placed? (I hesitate between in the spider or in a pipeline).\r\nDo we have to use different libraries like asyncio & aiohttp to be able to achieve this goal asynchronously? (I <3 aiohttp so this is not a problem)\r\n\r\nI think that updating the documentation to give an example of this case could be used by someone other than me.\r\n\r\nThanks you ^^"}}
{"actor":{"display_login":"HelloEdit"}}