Skip to content

Instantly share code, notes, and snippets.

export namespace oEmbed {
interface Request {
url: string;
max_width?: number; // maxwidth
max_height?: number; // maxheight
format?: "json" | "xml";
}
interface Response {
type: "photo" | "video" | "link" | "rich";

Keybase proof

I hereby claim:

  • I am okysky1121 on github.
  • I am okysky1121 (https://keybase.io/okysky1121) on keybase.
  • I have a public key ASA7h6Lqex06HLxecoe0zGUinxVnAo0UNp4hRgh-Ii_0-wo

To claim this, I am signing this object: