pyEDSM/README.md
2021-03-17 09:31:43 +01:00

75 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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](https://alternerdtive.github.io/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 ##
- [x] Status
- [ ] Commander
- [ ] Logs
- [ ] get-logs
- [x] get-position
- [ ] set-comment
- [ ] get-comment
- [ ] get-comments
- [ ] System
- [x] bodies
- [ ] estimated-value
- [ ] stations
- [ ] market
- [ ] shipyard
- [ ] outfitting
- [ ] factions
- [ ] traffic
- [ ] deaths
- [ ] Systems
- [x] system
- [x] 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`](edsm/models.py) or [my `elite-scripts`
repo](https://github.com/alterNERDtive/elite-scripts) 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](https://github.com/alterNERDtive/pyEDSM/tree/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](https://github.com/alterNERDtive/pyEDSM/issues). Thanks! :)
You can also [say “Hi” on Discord](https://discord.gg/7wKEDDr) if that is your
thing.