Skip to content

CMD-Breda-Avans/MAX-REST_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MAX-REST_API

A basic starter to use the maxurl object to access web (REST) API's by Mark Meeuwenoord 2024

Some sources to get you started:

100 cool API's: https://betterprogramming.pub/a-curated-list-of-100-cool-and-fun-public-apis-to-inspire-your-next-project-7600ce3e9b3

Fun API overview: https://www.twilio.com/blog/cool-apis

Dutch Government API's: https://developer.overheid.nl

In the CMD Techlab session we will also look into using the shell object in Max to let our comp. speak aloud using shell commands. You can find that object that here. Tested on MacOS Catalina. Not sure Windows will speak stuff: https://github.com/jeremybernstein/shell/releases/tag/1.0b2

To get our API data do something in the physical world we can trigger stuff on a Arduino. In this rep you'll find a simple arduino sketch to parse ints we send from Max. See the file Serialread_fromMax.ino.

For non Max... javascript based web API stuff i highly recommend: Daniel Shiffman // The Coding Train. // Working with Data and APIs in JavaScript --- https://youtu.be/DbcLg8nRWEg

Next to the API stuff we can do we should take a look at the mqtt protocol for getting data to and from web services. When using Max we should get either this object: openData MQTT an overview: https://github.com/mqtt/mqtt.org/wiki/public_brokers

MQTT with Max https://www.shiftr.io

Get info and external here: https://github.com/256dpi/max-mqtt https://github.com/256dpi/max-mqtt/releases

Or we can do MQTT with Node.js in (or outside) Max with: Max/MSP Interfacing Shiftr.io (MQTT)](https://github.com/L4COUR/MaxMSP-Interfacing/tree/master/MaxMSP%20Interfacing%20Shiftr.io%20-%20MQTT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages