Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)
Simple class, witch call web service, and got JSON objects

src/c/u/curiosity-HEAD/plugins/TellMeWeather/plugin.py   curiosity(Download)
import json
import datetime
from server import ServerCaller
from weather import Weather
from pprint import pprint
    def getLoaction(self,address):
 
        url = "http://maps.googleapis.com/maps/api/geocode/json?address="+address+"&sensor=false"
 
        location = ServerCaller(url)
 
        if fullLocName != None:
            webWeather = ServerCaller("https://api.forecast.io/forecast/0e75783f8a3fa4de5b49fff8115d93b4/"+str(lat)+","+str(lng))
            webWeather.callService()