Wednesday, May 2, 2012

How would I go about building an API converter?

I have multiple different APIs with different schemas serialised in XML or JSON which I need to output as a standardised schema.

Main features needed:

  • Serialisation to XML and JSON
  • Authentication
    • I.e.: can't get/set data unless you have the correct user+pass
  • Role/Scope limitation
    • I.e.: you can't access everything in our database, only what your role allows for
  • Get/set (conversion) between different schemas
    • I.e.: No matter the input API, you can get it formatted in whichever output API you request

Is this the sort of problem Slumber with TastyPie would be best for?

Or are there a different libraries you'd recommend?

Thanks for all suggestions,

Alec Taylor

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment