{"repo":"yezyilomo/django-restql","free":true,"listed":false,"github":"https://github.com/yezyilomo/django-restql","clone":"git clone https://github.com/yezyilomo/django-restql.git","description":"Turn your API made with Django REST Framework(DRF) into a GraphQL like API.","language":"Python","stars":624,"topics":["djangorestframework","django-graphql","django-graphene","nested-resources","nested-fields","drf","dynamic-fields","django-restql","graphql","django-rest-framework"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Django RESTQL &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Django RESTQL is a python library which allows you to turn your API made with Django REST Framework(DRF) into a GraphQL like API. With Django RESTQL you will be able to Send a query to your API and get exactly what you need Control the data you get on client side. Get predictable results, since you control what you get from the server. Get nested resources in a single request. Avoid Over-fetching and Under-fetching of data. Write(create & update) nested data of any level in a single request. Isn't it cool?. Want to see how this library is making all that possible? Check out the full documentation at https://yezyilomo.github.io/django-restql Or try a live demo on Django RESTQL Playground Requirements Python = 3.6 Django = 1.11 Django REST Framework = 3.5 Installing Getting Started Using Django RESTQL to query data is very simple, you just have to inherit the DynamicFieldsMixin class when defining a serializer that's all. Django RESTQL handle all requests with a query parameter, this parameter is the one used to pass all fields to be included/excluded in a response. For example to select id and username fields from User model, send a request with a query parameter as shown below. GET /users/?query={id, username} Django RESTQL support querying both flat and nested resources, so you can expand or query nested fields at any level as defined on a serializer. In an example below we have location as a nested field on User model. If y","default_branch":null,"files":null,"tree":[],"storefront":"/r/yezyilomo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yezyilomo/django-restql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}