Git Product home page Git Product logo

err-seat's Introduction

err-seat

Seat Api Interface for errbot, reports starbases (out of fuel, silo full, siphon, reinforced). Ability to search for pocos/posses, offline posses, posses that run out of fuel in x hours. Announcement of courier contracts and its updates. Announcement of corp sales.

Warning

This is horribly outdated due me no longer playing and ccp reworking pos code. Don't use this without updating the code.

Installation

You need errbot and eveseat please see the following links for setting that up:

Connecting / Configuration

Under https://yourseatdomain.com/api-admin add the ip of your errbot instance. In the seat.py you need to set the api url and the token you just generated plus the additional settings.

Example:

!plugin config seat
{'CHECK_CONTRACTS': True,               # check for courier updates
 'CHECK_STRUCTURES': True,              # check for pos
 'SEAT_URL': '<your_seat_url>',         # seat url
 'SEAT_TOKEN': '<seat_token>',          # seat token
 'REPORT_CONTRACTS_CHAN': '<channel>',  # report couriers here
 'REPORT_POS_CHAN': '<channel>',        # report posses here
 'REPORT_REINF_CHAN': '<channel>',      # report reinforcements here
 'REPORT_TRADES_CHAN': '<channel>',     # report trades here
 'FUEL_THRESHOLD': 24,                  # fuel threshold for starbases
 'STRONT_THRESHOLD': 12,                # stront threshold
 'CHECK_TRADES': True,                  # check for trades
 'TRADECORP_ID': '<corpid>'}            # id of tradecorp

Help Call Example

seat

Seat API to errbot

- !poco find - Finds all pocos in given <system>, Usage !poco find <system>
- !pos clearwarnings - Clears all saved warning states
- !pos find - Finds all towers in given <system>, Usage !pos find <system>
- !pos offline - Finds all offline towers, Usage: !pos offline
- !pos oof - Finds all towers that will be running out of fuel in the given timeframe, Usa...
- !pos oos - Finds all towers that have no stront, Usage: !pos oos
- !pos reinforced - Finds all reinforced towers , Usage: !pos reinforced
plus a few admin commands which are documented in the code itself.

misc

only tested against discord.py with errbot 4.2.2+.
Keep in mind that eve api and seat api data is delayed.

Contact

If you got questions catch me on gitter https://gitter.im/errbotio/errbot

err-seat's People

Contributors

betriebsrat avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.