官术网_书友最值得收藏!

  • Python Social Media Analytics
  • Siddhartha Chatterjee Michal Krystyanczuk
  • 215字
  • 2021-07-15 17:24:54

RESTful API

This is the most common type of API that most social media provides. The information from a REST API is static and is from historical data. The back history of data can vary from platform to platform. Facebook calls its REST API service Graph API.

Facebook, Twitter, and Pinterest among others have given access to their APIs to the public through robust data infrastructures. Another real-time version of the RESTful API of Twitter is the Streaming API. The two are inherently similar, but with different usages. We will explore the standard RESTful APIs of the most common platforms and also the Streaming API of Twitter.

REST stands for Representational State Transfer and it relies on the HTTP protocol for data transfer between machines. It has been created to simplify the transfer of data between machines unlike previous web services such as CORBA, RPC, and SOAP. Since the architecture of REST uses the HTTP protocol, it would be fair to assume that the WWW itself is based on RESTful design. Two of the most important uses of RESTful services are:

  • Get: Procedure to receive data from a distant machine
  • Post: Procedure to write data to a distant machine

Almost all the functionalities of a REST API can be used through the preceding two methods.

主站蜘蛛池模板: 赤城县| 宝清县| 建湖县| 银川市| 大荔县| 汝南县| 余姚市| 桑日县| 剑川县| 双辽市| 白玉县| 南宁市| 庄浪县| 扎鲁特旗| 巩义市| 比如县| 广汉市| 平潭县| 曲麻莱县| 容城县| 三明市| 延庆县| 云梦县| 松原市| 凯里市| 宜丰县| 简阳市| 黔东| 四川省| 额济纳旗| 新邵县| 临海市| 常德市| 淅川县| 宁乡县| 麻栗坡县| 乌鲁木齐县| 江油市| 楚雄市| 西昌市| 从江县|