Question
Code in Python or Java please In this assignment, you will develop a set of REST APIs capable of reading a JSON file deployed on
Code in Python or Java please
In this assignment, you will develop a set of REST APIs capable of reading a JSON file deployed on a server and returning information by using a collection of simple HTTP requests invoked through Postman.
Overview
Companies like Twitter have strong RESTful APIs that allow users to explore the wealth of data they manage and even provide ways to download your entire archive of tweets. Many users rely on Twitters favorites as a mechanism to bookmark tweets that link to interesting content elsewhere on the web. However, in order to avoid a potential downfall in the future, where those favorites could one day become unavailable, you've decided to retrieve a list with your favorite tweets as a JSON object. Find the sample JSON file at the following link:
https://foyzulhassan.github.io/files/favs.json
Specification
Your RESTful APIs should be able to respond, with the appropriate data, to the following requests:
Get all tweets (create time, id, and tweet text) available in the archive.
Get a list of all external links (all links that appear in the tweet text field. Use regular expressions to extract the links, the links should be grouped based on tweet ids.
Get the details about a given tweet (given the tweets id). Details of the tweet include created_at, text, screen_name, lang.
Get detailed profile information about a given Twitter user (given the users screen name).
Programing Language and Frameworks
You can use any programing language and framework to implement the REST APIs.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started