- Python Social Media Analytics
- Siddhartha Chatterjee Michal Krystyanczuk
- 182字
- 2021-07-15 17:24:52
Defining API
A widely used term, API (Application Programming Interface) is defined as a set of instructions and standards to access a web based software application. But what does it mean in real life? Firstly, APIs allow users to send a request for a particular resource, such as Facebook or Twitter , and receive some data in response. It is worth noting that all API providers fix some limitations on the quantity or type of data which users can obtain. APIs give access data processing resources, such as AlchemyAPI that receives in a request verbatim (textual data) and sends in response all results of the analysis, such as nouns, verbs, entities, and so on. In our case, the APIs are used either to get data from social networks or to execute some complex processing on them.
In order to access and manipulate APIs, we have to install the urllib2 library:
pip3 install urllib2
In some cases, if you fail to perform the installation. You can also try using the request library, which is compatible with Python 2.x and 3.x.
pip3 install request
- LabVIEW 2018 虛擬儀器程序設計
- Python數(shù)據(jù)分析基礎
- Three.js開發(fā)指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- 精通搜索分析
- 樂高機器人設計技巧:EV3結構設計與編程指導
- 青少年美育趣味課堂:XMind思維導圖制作
- Julia Cookbook
- Python貝葉斯分析(第2版)
- Drupal 8 Module Development
- SharePoint Development with the SharePoint Framework
- 數(shù)據(jù)結構習題解析與實驗指導
- Visual FoxPro程序設計習題集及實驗指導(第四版)
- Java程序設計案例教程
- Oracle GoldenGate 12c Implementer's Guide
- 時空數(shù)據(jù)建模及其應用