Skip to content

tzerber/pyscrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

System Summary

Accept site cookies

Endpoint: /system/accept_cookies
Method: GET
Request Body: NONE

curl -X GET -H "Content-Type: application/json" http://127.0.0.1:5000/system/accept_cookies

Clear up stalle browser processes

Endpoint: /system/reload
Method: GET
Request Body: NONE

curl -X GET -H "Content-Type: application/json" http://127.0.0.1:5000/system/reload

API Summary

Update Player Names for Player statistics

Endpoint: /players/update_playernames
Method: POST
Request Body: JSON

curl -X POST -H "Content-Type: application/json" -d '{"playernames": ["20113/deko", "20709/r3salt", "19236/kensi", "19882/norwi"]}' http://127.0.0.1:5000/players/update_playernames

Scrape Player Statistics

Endpoint: /players/scrape
Method: POST

curl -X POST -H "Content-Type: application/json" http://127.0.0.1:5000/players/scrape

Get Player Statistics

Endpoint: /players/statistics
Method: GET

curl http://127.0.0.1:5000/players/statistics

Scrape Upcoming Matches

Endpoint: /upcoming/uri
Method: POST
Request Body: JSON

{
    "url": "<upcoming_matches_url>"
}
curl -X POST -H "Content-Type: application/json" -d '{"url": "<upcoming_matches_url>"}' http://127.0.0.1:5000/upcoming/uri

Get Upcoming Matches

Endpoint: /upcoming/rating
Method: GET

curl http://127.0.0.1:5000/upcoming/rating

Scrape Team Statistics

Endpoint: /team/uri
Method: POST
Request Body: JSON

{
    "url": "<team_url>"
}
curl -X POST -H "Content-Type: application/json" -d '{"url": "<team_url>"}' http://127.0.0.1:5000/team/uri

Get Team Statistics

Endpoint: /team/rating
Method: GET

curl http://127.0.0.1:5000/team/rating

Scrape Match Data

Endpoint: /matches/uri
Method: POST
Request Body: JSON

{
    "url": "<match_url>"
}
curl -X POST -H "Content-Type: application/json" -d '{"url": "<match_url>"}' http://127.0.0.1:5000/matches/uri

Get Match Data

Endpoint: /matches/rating
Method: GET

curl http://127.0.0.1:5000/matches/rating

About

hltv scrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages