Code Monkey home page Code Monkey logo

oscars-webhook-api's Introduction

Oscars Webhook API

With the Oscars Webhook API we'll let you know every time a new winner is announced!

API

Whenever a new winner is announced we will send the following POST request to the endpoint you specified:

POST https://api.example.com/your-webhook-endpoint/

Authorization: <YOUR_SERVICE_KEY>
{
  "category": "best_picture",
  "type": "movie",
  "name": "Parasite",
  "movie": {
    "title": "Parasite",
    "director": "Bong Joon Ho",
    "release_date": "2019-11-08",
    "imdb_url": "https://www.imdb.com/title/tt6751668/",
  }
}

Make sure to check that the service key in the Authorization header matches the one we sent you!

Payload types

Movie

{
  "category": "best_picture",
  "type": "movie",
  "name": "Parasite",
  "movie": {
    "title": "Parasite",
    "director": "Bong Joon Ho",
    "release_date": "2019-11-08",
    "imdb_url": "https://www.imdb.com/title/tt6751668/",
  }
}

People

{
  "category": "actor_in_leading_role",
  "type": "people",
  "name": "Joaquin Phoenix",
  "people": [
    {
      "name": "Joaquin Phoenix",
      "imdb_url": "https://www.imdb.com/name/nm0001618/"
    }
  ],
  "movie": {
    "title": "Joker",
    "director": "Todd Phillips",
    "release_date": "2019-10-04",
    "imdb_url": "https://www.imdb.com/title/tt7286456/"
  }
}

Song

{
  "category": "original_song",
  "type": "song",
  "name": "(I'm Gonna) Love Me Again",
  "song": {
    "title": "(I'm Gonna) Love Me Again",
    "imdb_url": "https://www.imdb.com/title/tt10947904/",
  },
  "movie": {
    "name": "Rocketman",
    "director": "Dexter Fletcher",
    "release_date": "2019-05-31",
    "imdb_url": "https://www.imdb.com/title/tt2066051/"
  }
}

oscars-webhook-api's People

Contributors

thewarpaint avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.