Odin
ODIN documentation
First Steps
Working with resources
Extras
Integration
Project Links
Indices and tables
Getting started
Creating resources
Design your resources
Working with resources
Loading and saving data
JSON data
Mapping between resources
Defining a mapping
Converting between resources
Polymorphism and abstract resources
API Reference
Codecs
CSV Codec
Example
Limitations
JSON Codec
Methods
Customising Encoding
Example usage
MessagePack Codec
Methods
Customising Encoding
Example usage
XML Codec
Methods
Unsupported Fields
Example usage
contrib packages
Generating resource documentation
Quick example
Doc-gen API
Geographic Values
Datatypes
Fields
Currency and Money Values
Datatypes
Fields
Physical Quantities with Pint
Fields
Sphinx Extension
Setup
Usage
Exceptions
Mapping
Mapping Classes
Defining a Mapping
Mapping Instances
Mapping Factories
Mapping Helpers
Defining Mappings
Resources
Field reference
Field options
Standard fields
Composite fields
Virtual fields
Resources Instances
Quick example
Fields
Meta options
Resource inheritance
Resource Meta options
Adapters
Validators
Built in validators
Traversal
TraversalPath
ResourceTraversalIterator
Integration
Integration with Django
ResourceField
Field resolver
RESTful API
Odin
Docs
»
Odin Examples
View page source
Odin Examples
ΒΆ
Examples of odin usage to get you started.
Adapter Examples
Filtering out fields
Adding functions to a resource