MrChebur / usgs-machine-to-machine-API

Simple Python wrapper of the USGS/EROS Inventory Service Machine-to-Machine API as described in the documents at https://m2m.cr.usgs.gov/api/docs/json/
GNU General Public License v3.0
18 stars 7 forks source link

convert to package, update error codes #8

Closed jacobwhall closed 1 year ago

jacobwhall commented 1 year ago

Hi there,

I forked this repo yesterday and made some changes I'd like to contribute.

First I merged in @ShevFA's work packaging this repository, and then made some additional tweaks to make using the package more intuitive for me. Here's a summary of what I did:

This can be installed with pip install https://github.com/jacobwhall/usgs-machine-to-machine-API/archive/master.zip (see here). You can also checkout the branch and run pip install -e . to install it in editable mode.

If you decide to merge this, I recommend editing pyproject.toml to update your contact info and any other metadata you'd like. I could help setup a PyPI publishing workflow should you be interested.

Cheers, Jacob

MrChebur commented 1 year ago

Thank you for contributing to the development of this repository.

I am self-taught and my modest programming skills leave much to be desired.

If you have a desire to develop this wrapper - I will gladly accept your contribution.

jacobwhall commented 1 year ago

I am self-taught and my modest programming skills leave much to be desired.

You wrote a bit of code that I found very useful. Thank you for making the world a better place.