Code Monkey home page Code Monkey logo

resthooks's Introduction

  _____   ______   _____  _______  _    _   ____    ____   _  __  _____    ____   _____    _____ 
 |  __ \ |  ____| / ____||__   __|| |  | | / __ \  / __ \ | |/ / / ____|  / __ \ |  __ \  / ____|
 | |__) || |__   | (___     | |   | |__| || |  | || |  | || ' / | (___   | |  | || |__) || |  __ 
 |  _  / |  __|   \___ \    | |   |  __  || |  | || |  | ||  <   \___ \  | |  | ||  _  / | | |_ |
 | | \ \ | |____  ____) |   | |   | |  | || |__| || |__| || . \  ____) |_| |__| || | \ \ | |__| |
 |_|  \_\|______||_____/    |_|   |_|  |_| \____/  \____/ |_|\_\|_____/(_)\____/ |_|  \_\ \_____|
                                                                                                 

REST Hooks are a lightweight subscription layer on top of your existing REST API.

The real-time web is already here, but REST APIs haven't kept up. Many major players have already standardized upon subscription webhooks. REST Hooks are a way to consolidate that momentum and push it to a broarder audience.

For more information, code examples, libraries, and company profiles check out http://resthooks.org.

http://resthooks.org an initiative by Zapier 2013-2017.

How to run locally.

Clone the repo and hop into the correct directory.

git clone [email protected]:zapier/resthooks.git && cd resthooks

Next, you'll want to make a virtual environment (we recommend using virtualenvwrapper but you could skip this) and then install dependencies:

mkvirtualenv resthooks -p python2.7
pip install -r requirements.txt

Now you can run the server!

foreman run web
# or
python resthooks.py

resthooks's People

Contributors

allonhadaya avatar amasses avatar bcooksey avatar bryanhelmig avatar bryanlanders avatar fokkezb avatar jamescarr avatar jfw avatar maguay avatar micahbennett avatar mikeknoop avatar wadefoster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

resthooks's Issues

title

curl --location --request POST 'https://open-api.morph.ai/v1/message/wa/post_session/send/919672234561'
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImlkIjoiNWRkZmViYjJkMGQyMmUzYjhkZWIwNjc1In0.eyJzY29wZSI6ImFwaSJ9.pMRf_XgxhMJQZ8QA-F8X0iTbcgMHxR5eCHvG2S-dVy0'
--header 'Content-Type: application/json'
--data-raw '{
"accountId": "5eb676c5cdecc0d8de74164d",
"templateId": "5ebeb7add0d22e383a451dc3",
"postSessionParams": ["Dec-19", "JSR Accountax Infosystems Private Limited","20/12/2019 10:42","AA081119477343Z"]
}'

License?

What would be the license for this code? I could not find any...
Thanks!

title

curl --location --request POST 'https://open-api.morph.ai/v1/message/wa/post_session/send/918239999989'
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImlkIjoiNWRkZmViYjJkMGQyMmUzYjhkZWIwNjc1In0.eyJzY29wZSI6ImFwaSJ9.pMRf_XgxhMJQZ8QA-F8X0iTbcgMHxR5eCHvG2S-dVy0'
--header 'Content-Type: application/json'
--data-raw '{
"accountId": "5eb676c5cdecc0d8de74164d",
"templateId": "5ebeb7add0d22e383a451dc3",
"postSessionParams": ["Feb-20", "Solsynergy LLP","28/05/2020 08:37","AA080220602684K"]
}'

Include MQTT in "Alternatives"

The pages are really great and provided a lot of insight to implementing webhooks and what are the alternatives.

The one alternative I would have liked to see is MQTT, which I believe is catching on. http://mqtt.org/

title

curl --location --request POST 'https://open-api.morph.ai/v1/message/wa/post_session/send/918239999989'
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImlkIjoiNWRkZmViYjJkMGQyMmUzYjhkZWIwNjc1In0.eyJzY29wZSI6ImFwaSJ9.pMRf_XgxhMJQZ8QA-F8X0iTbcgMHxR5eCHvG2S-dVy0'
--header 'Content-Type: application/json'
--data-raw '{
"accountId": "5eb676c5cdecc0d8de74164d",
"templateId": "5ebeb7add0d22e383a451dc3",
"postSessionParams": ["Feb-20", "Solsynergy LLP","28/05/2020 08:37","AA080220602684K"]
}'

title

curl --location --request POST 'https://open-api.morph.ai/v1/message/wa/post_session/send/918239999989'
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImlkIjoiNWRkZmViYjJkMGQyMmUzYjhkZWIwNjc1In0.eyJzY29wZSI6ImFwaSJ9.pMRf_XgxhMJQZ8QA-F8X0iTbcgMHxR5eCHvG2S-dVy0'
--header 'Content-Type: application/json'
--data-raw '{
"accountId": "5eb676c5cdecc0d8de74164d",
"templateId": "5ebeb7add0d22e383a451dc3",
"postSessionParams": ["Feb-20", "Solsynergy LLP","28/05/2020 08:37","AA080220602684K"]
}'

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.