<commit_before>            /$$$$$$  /$$                                     /$$      /$$                                     /$$$$$  /$$$$$$ 
           /$$__  $$| $$                                    | $$  /$ | $$                                    |__  $$ /$$__  $$
          | $$  \__/| $$$$$$$   /$$$$$$   /$$$$$$   /$$$$$$ | $$ /$$$| $$  /$$$$$$  /$$   /$$  /$$$$$$$         | $$| $$  \__/
          |  $$$$$$ | $$__  $$ |____  $$ /$$__  $$ /$$__  $$| $$/$$ $$ $$ |____  $$| $$  | $$ /$$_____/         | $$|  $$$$$$ 
           \____  $$| $$  \ $$  /$$$$$$$| $$  \ $$| $$$$$$$$| $$$$_  $$$$  /$$$$$$$| $$  | $$|  $$$$$$     /$$  | $$ \____  $$
           /$$  \ $$| $$  | $$ /$$__  $$| $$  | $$| $$_____/| $$$/ \  $$$ /$$__  $$| $$  | $$ \____  $$   | $$  | $$ /$$  \ $$
          |  $$$$$$/| $$  | $$|  $$$$$$$| $$$$$$$/|  $$$$$$$| $$/   \  $$|  $$$$$$$|  $$$$$$$ /$$$$$$$//$$|  $$$$$$/|  $$$$$$/
           \______/ |__/  |__/ \_______/| $$____/  \_______/|__/     \__/ \_______/ \____  $$|_______/|__/ \______/  \______/ 
                                        | $$                                        /$$  | $$                                 
                                        | $$                                       |  $$$$$$/                                 
                                        |__/                                        \______/                                  
                                        



# Introduction

This is a node.js library for interfacing with [ShapeWays](http://www.shapeways.com/) web-based 3D printing service.  It allows you to:

* Upload models
* Query printers
* Add items to shopping carts

# Example

Here is a trivial example showing how to upload a part to shapeways

    require('shapeways').connect({
        username:  'Your Shapeways Username'
      , password:  'Your Shapeways Password'
    }, function(err, conn) {

      conn.upload({
          title:    'Test Model'
        , filename: 'test_model.stl'
      })
    });


# API

## connect

Connects to ShapeWays' API service.

## ShapeWaysConnection

### printers

Returns a list of all available printers

### materials

Returns a list of all available materials

### upload

Uploads a model

### addToCart

Returns a URL for adding an item to the shapeways cart

<commit_msg>working on API<commit_after>    /$$$$$$  /$$                                     /$$      /$$                                     /$$$$$  /$$$$$$ 
   /$$__  $$| $$                                    | $$  /$ | $$                                    |__  $$ /$$__  $$
  | $$  \__/| $$$$$$$   /$$$$$$   /$$$$$$   /$$$$$$ | $$ /$$$| $$  /$$$$$$  /$$   /$$  /$$$$$$$         | $$| $$  \__/
  |  $$$$$$ | $$__  $$ |____  $$ /$$__  $$ /$$__  $$| $$/$$ $$ $$ |____  $$| $$  | $$ /$$_____/         | $$|  $$$$$$ 
   \____  $$| $$  \ $$  /$$$$$$$| $$  \ $$| $$$$$$$$| $$$$_  $$$$  /$$$$$$$| $$  | $$|  $$$$$$     /$$  | $$ \____  $$
   /$$  \ $$| $$  | $$ /$$__  $$| $$  | $$| $$_____/| $$$/ \  $$$ /$$__  $$| $$  | $$ \____  $$   | $$  | $$ /$$  \ $$
  |  $$$$$$/| $$  | $$|  $$$$$$$| $$$$$$$/|  $$$$$$$| $$/   \  $$|  $$$$$$$|  $$$$$$$ /$$$$$$$//$$|  $$$$$$/|  $$$$$$/
   \______/ |__/  |__/ \_______/| $$____/  \_______/|__/     \__/ \_______/ \____  $$|_______/|__/ \______/  \______/ 
                                | $$                                        /$$  | $$                                 
                                | $$                                       |  $$$$$$/                                 
                                |__/                                        \______/                                  
                                        



# Introduction

This is a node.js library for interfacing with [ShapeWays](http://www.shapeways.com/) web-based 3D printing service.  It allows you to:

* Upload models
* Query printers
* Add items to shopping carts

# Example

Here is a trivial example showing how to upload a part to shapeways

    require('shapeways').connect({
        username:  'Your Shapeways Username'
      , password:  '<PASSWORD>'
    }, function(err, conn) {

      conn.upload({
          title:    'Test Model'
        , filename: 'test_model.stl'
      })
    });


# API

## connect

Connects to ShapeWays' API service.

## ShapeWaysConnection

### printers

Returns a list of all available printers

### materials

Returns a list of all available materials

### upload

Uploads a model

### addToCart

Returns a URL for adding an item to the shapeways cart


{'fraction_non_alphanumeric': 0.23757149142102948, 'fraction_numerical': 0.0004399472063352398, 'mean_word_length': 1.0658791458427987, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 8, 'word_list_counts': {'cursed_substrings.json': 39, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '275279', 'n_tokens_mistral': 1487, 'n_tokens_neox': 1398, 'n_words': 198}