The Python script for albionstatus.com that retrieves the current status of the Albion Online servers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
VERSION Create VERSION Aug 9, 2017
albionstatus.py
config.example.json First commit Jul 30, 2017
requirements.txt

README.md

AlbionStatus scraper and bot

This part of https://albionstatus.com is responsible for fetching the server status and pushing it (roughly every minute) into a MySQL database.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Be sure to look into the repositories of the other parts of AlbionStatus:

Prerequisites

To install the microservice on your machine, you'll need:

  • Python 3!! (sorry, no 2.x support here)
  • Pip
  • A MySQL database for the status information
  • The MySQL Python connector
  • Credentials for the Twitter API

Okay, you got these? Great, let's continue!

Installing

  1. Pull the application and switch to the correct branch (mostly develop, or master if you want to deploy)
  2. Get all dependencies by using pip -r requirements.txt in the projects root folder
  3. Grab a copy of the config.example.json file, enter the needed information and save it as config.json
  4. If you are ready to fetch data, use python3 albionstatus.py to start the scraper and bot

Here you go! You may like to use tools like supervisor to ensure that the script runs 24/7

Deployment

Deployment works similar to installation. Just go for master instead of develop.

Possible errors and there solutions

None known by now

Built With

Versioning

We use SemVer for versioning. For the versions available, take a look in our repository.

Authors

See also the list of contributors who participated in this project.

License

See LICENSE file