Using api client code written in python or ruby inside of a cocoa app?
===

I'm curious if it is possible to use an API client library that is written in python or ruby from inside of a desktop cocoa application?

The api is making restful calls to a 3rd party service.

Or do I have to re-write it in obj-c?