Skip to content

Commit

Permalink
Updates 2024-08-28 - ...
Browse files Browse the repository at this point in the history
  • Loading branch information
CHRISCARLON committed Aug 28, 2024
1 parent 1e94f9e commit 6634fa6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,14 @@
2. [London Datastore](https://data.london.gov.uk)
3. [Data Mill North](https://datamillnorth.org)
4. [Gov Open Data](https://www.data.gov.uk)

## Basic usage examples:

```python
# Example usage
if __name__ == "__main__":
with CatSession("data.london.gov.uk") as session:
explore = CatExplorer(session)
v = explore.package_search_json(search_query="census")
pprint(v)
```
1 change: 0 additions & 1 deletion src/herding_cats.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def __exit__(self, exc_type, exc_val, exc_tb):
"""Allows use with context manager with"""
self.close_session()


class CatExplorer:
def __init__(self, cat_session: CatSession):
self.cat_session = cat_session
Expand Down

0 comments on commit 6634fa6

Please sign in to comment.