a Python wrapper for EDSM’s API
Find a file
2022-07-02 15:55:23 +02:00
.github added github action for releases 2022-07-02 15:51:39 +02:00
edsm Put newline at end of file 2022-03-11 17:54:54 -05:00
.editorconfig Initial working … thing. 2019-09-17 13:26:13 +02:00
.gitignore Initial working … thing. 2019-09-17 13:26:13 +02:00
CHANGELOG.md 0.2 2022-07-02 15:55:23 +02:00
LICENSE LICENSE added (GPL v3) 2019-09-18 16:18:17 +02:00
Makefile Makefile fixed for std python alternatives config 2019-11-12 10:05:50 +01:00
README.md updated CHANGELOG/README 2022-07-02 15:36:05 +02:00
requirements.txt added dateutil dependency 2020-01-16 19:32:49 +01:00

pyEDSM a Python Wrapper for EDSMs API

The current state might very well be the final one, depending on what I might need in the future for command-line usage.

This was born as supplemental scripts for my VoiceAttack profiles and as Ive had to make some plugins for that in the meantime anyway I will move all this to .Net for use in those.

tl;dr: if you want more features here, your best bet is to fork or open a pull request.

Implementation Progress

  • Status
  • Commander
  • Logs
    • get-logs
    • get-position
    • set-comment
    • get-comment
    • get-comments
  • System
    • bodies
    • estimated-value
    • stations
    • market
    • shipyard
    • outfitting
    • factions
    • traffic
    • deaths
  • Systems
    • system
    • systems
    • sphere-systems
    • cube-systems
  • Journal

Current goal is to implement most parts of the System and Systems API as well as some of the Commander and Logs API. Everything else is not planned at the moment. See above!

Throw money at me and Ill do what you want :)

Whatever is currently implemented is likely to change on a whim until theres a first release. You have been warned.

Things You Probably Want to Use

Have a look at edsm/models.py or my elite-scripts repo that I made this for. Basically you create a new System/Commander object (usually by name) and start using properties; that will query EDSM in the background.

Oh, the tests in edsm/test_*.py might be interesting, too.

Things You Probably Dont Want to Use

You can also find the raw API stuff in edsm/*Api.py. You probably dont want to use that directly, but hey, all the power to you.

Need Help / Want to Contribute?

If you run into any problems, please look at the develop branch and see if its fixed there already.

If you have no idea what I was saying in that last paragraph and / or the things mentioned there dont fix your problem, please file an issue. Thanks! :)

You can also say “Hi” on Discord if that is your thing.