Java rest client framework for Django QuerySet syntax

There are a bunch of public rest APIs built with Django which expose Django’s QuerySet filtering and field selecting features

For example:

https://api.hubapi.com/content/api/v2/pages?hapikey=demo&translated_from_id__is_null&name__icontains=test&order=created&property=id&property=name&property=current_state&property=translated_content

where:

  • &name__icontains=test means case insensitive lookup by the field name which value contains subsgtring test
  • &translated_from_id__is_null means that field translated_from_id is not null
  • &property=id&property=name&property=current_state means that only these declared properties should be returned

Other examples:

https://www.ebi.ac.uk/chembl/api/data/molecule?molecule_properties__full_mwt__range=200,500

https://www.ebi.ac.uk/chembl/api/data/molecule?molecule_chembl_id__in=CHEMBL25,CHEMBL941,CHEMBL1000

Is there any Java framework which provides high-level abstractions above this query syntax?

Leave a Reply

avatar
  Subscribe  
Notify of