Skip to content

maxjacu/mercari-python-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Python Mercari API

A Python interface to the unofficial Mercari API.

   

Example

from mercari import Mercari

mercari_api = Mercari()

print('_' * 80)
print(mercari_api.name)
print(mercari_api.fetch_all_items(keyword='CHANEL')[0:10])
print(mercari_api.get_item_info('https://www.mercari.com/jp/items/m88046246209/'))

Installation

From PyPI

pip install mercari_python

From the sources

pip install git+ssh://git.github.com/philipperemy/mercari-python-api

Monitoring

cd examples
# edit one of those two files to receive notifications.
cp gmail_conf.json.example gmail_conf.json # edit this file.
cp alertzy_conf.json.example alertzy_conf.json # edit this file.
python monitor.py --keywords "road bike,moto bike" --min_prices "0,0" --max_prices "43000,43000"

Note: Amazon AWS IPs are blacklisted by Mercari. So don't use AWS EC2 to run this script, it will not work.

About

The Python Mercari API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.2%
  • Dockerfile 3.8%
  • Shell 1.0%