Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 13:28 11 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : API http get and Pi Zero

Author Message
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 07:03am 06 Jun 2018
Copy link to clipboard 
Print this post

Hi All
I've got a Pi Zero W working with the Pi-Cromite MM Basic
I've read through the manual, and I've done so many searches on the forum that I must have read half of all the posts but I cannot find this.

I know the answer is simple But I cannot get it

How do I ask the Pi Zero W using MM to get the API from somewhere like DarkSky or Wunderground?

Something like $.getJSON('https://api.darksky.net/forecast/[key]/[latitude],[longitude]', function(forecast) {});

On the PC I just use https://api.darksky.net/forecast/[key]/[latitude],[longitude]?units=uk2

I cannot find anything in the manual for the Pi-Cromite for "get" or "http" "https"
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4126
Posted: 07:23am 06 Jun 2018
Copy link to clipboard 
Print this post

Might be here tcp

John
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025