Application Programming Interfaces ooo Practical Hands On: Text Analysis o PLIN064 Uvod do digital humanities Zuzana Nevěřilová xpopelkOf i.muni.cz Centrum zpracování přirozeného jazyka, B203 Fakulta informatiky, Masarykova univerzita 16. října 2019 Application Programming Interfaces ooo Practical Hands On: Text Analysis o Application Programming Interfaces Practical Hands On: Text Analysis Application Programming Interfaces •oo Application Programming Interfaces Practical Hands On: Text Analysis o a way how (remote) machines can communicate together Machinel request a service at Machine2's API with some data. Machine2 calls internally a service with Machinel's data. Machine2 gets the output from the service. Machine2 sends a response to Machinel. Application Programming Interfaces Application Programming Interfaces API is not only request, data, and response. Technically, the machines have to establish a communication language (XML, JSON, Protocolbuffer, ...). API users have to be aware of: • terms and conditions (free to use, paid service) • access rights (API key, other authentication means) • limits (data size, wait between two requests, request per time limit) • other policies (pay as you go, pay per month, free up to some limit, consent to data sharing) Practical Hands On: Text Analysis o Application Programming Interfaces 00« API repositories Practical Hands On: Text Analysis o Many services, try to look for "list of apis" or "api marketplace": • • and many more For language resources, CLARIN provides some APIs. We come to this later. Application Programming Interfaces ooo Practical Hands On: Text Analysis