Skip to content

msobkowiak/scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon movies scraper

Amazon movies scraper is a service that makes a background request, fetching the respective Amazon web site, parsing it and giving back a valid result to the requester. When requesting an Amazon ID from this API, we will get back accessible and meaningful results in the JSON format provided below.

{
	"title": "Um Jeden Preis",
	"release_year": 2013,
	"actors": ["Dennis Quaid", "Zac Efron"],
	"poster": "http://ecx.images-amazon.com/images/I/51UZ8st2OdL._SX200_QL80_.jpg",
	"similar_ids": ["B00SWDQPOC", "B00RBPBO1G", "B00S2EMECI", "B00M5GH53M", "B00IH8BA3S", "B00M5JP1DA"]
}

Build and run

# build an executable file
go build 

# run the application
./scraper

Example of use

# get information about a movie with amazon id B00GSCPW4I
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:8080/movie/amazon/B00GSCPW4I

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages