https://github.com/pseudomuto/shopify-net
A .NET wrapper for the Shopify API
https://github.com/pseudomuto/shopify-net
Last synced: about 1 year ago
JSON representation
A .NET wrapper for the Shopify API
- Host: GitHub
- URL: https://github.com/pseudomuto/shopify-net
- Owner: pseudomuto
- License: mit
- Created: 2013-10-06T03:12:48.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-06T20:10:52.000Z (over 12 years ago)
- Last Synced: 2025-01-30T14:52:37.688Z (over 1 year ago)
- Language: JavaScript
- Size: 957 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shopify.NET
A .NET wrapper around the [Shopify™](http://api.shopify.com/) API.
Initially I intend to make a read-only API..though pull requests are always welcome!
## Running the Sample Application
The app will work with both private and store apps using Shopify's OAuth scheme.
When you launch the app the first time it will ask you for your app's `Client Id` and
`Client Secret`. This information will be used to authorize the local MVC app.
Once authorized, the access token will be stored in an environment variable called
`SHOPIFY_NET_TOKEN`
### Wanna Try it With a Private App?
If you're using a private app, you can just set the environment variable directly using your app's
`Password` as the access token. This will bypass the standard OAuth flow.
setx SHOPIFY_NET_TOKEN
## Basic Usage
All you need to start using the API is your store name and your access token.
var api = ShopifyAPI("YOUR_STORE_NAME", "YOUR_ACCESS_TOKEN");
var pages = api.GetAllPages();
...
...