Skip to content

Commit

Permalink
Fix API docs links and internal links
Browse files Browse the repository at this point in the history
  • Loading branch information
yanokwa authored and lindsay-stevens committed Oct 26, 2023
1 parent b097da1 commit 19fefba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pyODK
[![pypi](https://img.shields.io/pypi/v/pyodk.svg)](https://pypi.python.org/pypi/pyodk)

An API client for the [ODK Central API](https://odkcentral.docs.apiary.io). Use it to interact with your data and automate common tasks from Python.
An API client for the [ODK Central API](https://docs.getodk.org/central-api). Use it to interact with your data and automate common tasks from Python.

This library aims to make common data analysis and workflow automation tasks as simple as possible by providing clear method names, types, and examples. It also provides convenient access to the full API using [HTTP verb methods](https://getodk.github.io/pyodk/http-methods/).

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A standalone Jupyter notebook intended to introduce `pyodk` and show how it can

## [Going beyond `pyodk`'s library methods](beyond-library-methods.ipynb)

A standalone Jupyter notebook that shows how the raw HTTP method access and the [API docs](https://odkcentral.docs.apiary.io/) can be used together to make use of the full ODK Central API.
A standalone Jupyter notebook that shows how the raw HTTP method access and the [API docs](https://docs.getodk.org/central-api) can be used together to make use of the full ODK Central API.

## [Working with repeats](working-with-repeats.ipynb)

Expand Down
2 changes: 1 addition & 1 deletion docs/http-methods.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HTTP verb methods

For interacting with parts of the ODK Central API ([docs](https://odkcentral.docs.apiary.io)) that have not been implemented in `pyodk`, use HTTP verb methods exposed on the `Client`:
For interacting with parts of the ODK Central API ([docs](https://docs.getodk.org/central-api)) that have not been implemented in `pyodk`, use HTTP verb methods exposed on the `Client`:

```python
client.get("projects/8")
Expand Down
2 changes: 1 addition & 1 deletion pyodk/_endpoints/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_new_token(self, username: str, password: str) -> str:
"""
Get a new token from Central by creating a new session.
https://odkcentral.docs.apiary.io/#reference/authentication/session-authentication/logging-in
https://docs.getodk.org/central-api-authentication/#logging-in
:param username: The username of the Web User to auth with.
:param password: The Web User's password.
Expand Down

0 comments on commit 19fefba

Please sign in to comment.