Python library to interact with OpenProject API.
from pyopenproject.openproject import OpenProject
op = OpenProject(url="http://localhost:8080", api_key="6289058256894568479567886794")
user = op.get_user_services().create(
login="h.wurst",
email="[email protected]",
first_name="Hans",
last_name="Wurst",
admin=False,
language="de",
status="active",
# Password minimum is 10 characters)
password="h.wurst1234567890"
)
This library could be understood as a compendium of OpenProject endpoints services to use in a client project with the purpose of interact with OpenProject instance through its API.
PyOpenProject is available on PyPI:
python -m pip install pyopenproject
- API Reference
- You can see some code examples developed in our test cases
If you want to contribute, please:
- Fork it (https://github.com/Flying-Free/pyopenproject/fork)
- Create your feature branch (
git checkout -b feature/newEndpoint
) - Commit your changes (
git commit -am 'Add some new Endpoint'
) - Push to the branch (
git push origin feature/newEndpoint
) - Create a new Pull Request