def request_resource(self, url, **kwargs):
obj = self.get_object(url)<EOL>mapping = self.map_to_dictionary(url, obj, **kwargs)<EOL>resource = OEmbedResource.create(mapping)<EOL>resource.content_object = obj<EOL>return resource<EOL>
Request an OEmbedResource for a given url.  Some valid keyword args:
- format
- maxwidth
- maxheight