sphereio / sphere-hello-api

First steps to access the API of SPHERE.IO in several languages
http://sphere.io
MIT License
24 stars 11 forks source link

Added example to authorize using crystal #46

Closed kalinon closed 4 years ago

kalinon commented 5 years ago

Just a very basic example to use crystal-lang to perform a post and get back an access token.

kalinon commented 5 years ago

Build seems to be failing for ssl error:

requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
The command "cd $projects_dir/python2 && sudo pip install -r requirements.txt && ./hello-api | grep "MB PREMIUM TECH T"" exited with 1.