Skip to content

HryhorenkoVitalii/event-searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Реализовать хранение в репозитории
  2. упакопавать в докер компоус
  3. Проверить на ошибки
  4. сделать фронт в виде бота в телеграм и воможно сайт




Events scraper back

The Events scraper backend

The scraper with REST interface for scraping concerts

start

For start server you need run app.py, beforehand setting up postgres credential at settings.py

API endpoints

For all requests need send X-API-KEY in headers - default X-API-KEY = password

# [GET] to search the artist for artist name.
# Structure responce [{Name: Artist name, 
#                      Artist code: artist code, 
#                      Picture url: picture url}, ...]
# Responce can have multiple dicts
/<request_from>/<id>/search_artist/?Artist name=<Artist name>

# [GET] to search events for artist code.
# Structure responce [{Link: Link,
#                      Date: Date,
#                      Concert hall: concert hall,
#                      Place: concert place}), ...]
# Responce can have multiple dicts
/<request_from>/<id>/search_events/?Artist code=<Artist code>

# [GET] to get link for buy ticet on event.
# Structure responce {Ticket url: ticker url}
/<request_from>/<id>/get_ticket/?Concert Link=<Concert Link>

Credits

This software uses the following open source packages:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages