Skip to content

Instantly share code, notes, and snippets.

Avatar

kurozumi kurozumi

View GitHub Profile
@kurozumi
kurozumi / amazon.py
Last active Oct 11, 2016
【Python】Product Advertising APIを扱う
View amazon.py
# coding: utf-8
from amazon.api import AmazonAPI
from amazon.api import AmazonException, LookupException, AsinNotFound
class AmazonAPIWrapper(object):
"""
pip install python-amazon-simple-product-api
"""
@kurozumi
kurozumi / rakuten.py
Last active Oct 11, 2016
【Python】楽天市場APIを操作する
View rakuten.py
# coding: utf-8
import urllib.parse
import urllib.request
class Rakuten(object):
response = None
def __init__(self, applicationId=None, format="json"):
@kurozumi
kurozumi / shopping.py
Last active Oct 7, 2017
【Python】Python3でYahoo Shopping APIを使って商品検索をする方法
View shopping.py
# coding: utf-8
import urllib.parse
import urllib.request
import xml.etree.ElementTree as ET
class Yahoo(object):