Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/a/candideitorg-django-0.0.1/candideitorg/models.py   candideitorg-django(Download)
import slumber
import re
from django.db import models
from candideitorg.apikey_auth import ApiKeyAuth
from slumber import url_join, Resource
    def get_api(cls):
        api = slumber.API(settings.CANDIDEITORG_URL, auth=ApiKeyAuth(settings.CANDIDEITORG_USERNAME, settings.CANDIDEITORG_API_KEY))
        return api
 
    class Meta: