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

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/p/y/PyMoronBot-HEAD/Commands/URLFollow.py   PyMoronBot(Download)
from moronbot import MoronBot
 
from Data.api_keys import load_key
from Data import ignores
from Utils import WebUtils
    def onLoad(self, bot):
        """
        @type bot: MoronBot
        """
        self.youtubeKey = load_key(u'YouTube')
        self.imgurClientID = load_key(u'imgur Client ID')

src/p/y/PyMoronBot-HEAD/Commands/GPSLookup.py   PyMoronBot(Download)
from moronbot import MoronBot
 
from Data.api_keys import load_key
from Utils import WebUtils
 
    def onLoad(self, bot):
        """
        @type bot: MoronBot
        """
        self.api_key = load_key(u'Bing Maps')

src/p/y/PyMoronBot-HEAD/Utils/WebUtils.py   PyMoronBot(Download)
import re
 
from Data.api_keys import load_key
 
 
def shortenGoogl(url):
    post = '{{"longUrl": "{0}"}}'.format(url)
 
    googlKey = load_key(u'goo.gl')