Skip to content

Instantly share code, notes, and snippets.

View princefr's full-sized avatar
😀
good

Princefr princefr

😀
good
  • Swootte
  • Paris - France
View GitHub Profile
@nyov
nyov / magento-cli.py
Last active August 15, 2021 12:57
A Magento REST API example with rauth as OAuth provider. For Magento 1
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from rauth.service import OAuth1Service
# Create consumer key & secret in your Magento Admin interface
# For an API Guideline see:
# http://www.magentocommerce.com/api/rest/authentication/oauth_authentication.html
#
# Short Magento setup explanation: