An open API service indexing awesome lists of open source software.

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

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();
...
...