Skip to content

qut-dmrc/lumenapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lumenapi

Python client for the Lumen database API

Usage

    from lumen import Lumen

    # Initialise API client with your API key
    lumen = Lumen(api_key='YOUR_API_KEY')
    
    # Construct a dictionary of search terms; e.g.:
    search_dict = {'recipient_name': 'youtube', 'per_page': 100, 'sort_by': 'date_received desc'}
    
    # Search and return JSON results as a dictionary
    results = lumen.search(search_dict)

    # Get a particular notice by ID:
    notice = '14457992' # '12853850'
    result = lumen.get(notice)

About

Python client for the Lumen database API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages