Giter VIP home page Giter VIP logo

nosto-php-sdk's Introduction

php-sdk

Provides tools for building modules that integrate Nosto into your e-commerce platform.

Requirements

  • The Nosto PHP SDK requires at least PHP version 5.4.0 and it's also compatible with PHP >= 7.0.0

Getting started

Creating a new Nosto account

A Nosto account is needed for every shop and every language within each shop.

    .....
    try {
        /** @var NostoSignupInterface $meta */
        /** @var NostoSignup $account */
        $account = NostoSignup::create($meta);
        // save newly created account according to the platforms requirements
        .....
    } catch (NostoException $e) {
        // handle failure
        .....
    }
    .....

Connecting with an existing Nosto account

This should be done in the shops back end when the admin user wants to connect an existing Nosto account to the shop.

First redirect to the Nosto OAuth2 server.

    .....
    /** @var OAuthInterface $meta */
    $client = new NostoOAuthClient($meta);
  	header('Location: ' . $client->getAuthorizationUrl());

Then have a public endpoint ready to handle the return request.

    if (isset($_GET['code'])) {
        try {
            /** @var OAuthInterface $meta */
            $account = NostoSignup::syncFromNosto($meta, $_GET['code']);
            // save the synced account according to the platforms requirements
        } catch (NostoException $e) {
            // handle failures
        }
        // redirect to the admin page where the user can see the account controls
        .....
    }
    } elseif (isset($_GET['error'])) {
        // handle errors; 3 parameter will be sent, 'error', 'error_reason' and 'error_description'
        // redirect to the admin page where the user can see an error message
        .....
    } else {
        // 404
        .....
    }

Deleting a Nosto account

This should be used when you delete a Nosto account for a shop. It will notify Nosto that this account is no longer used.

    try {
        /** @var NostoSignup $account */
        $account->delete();
    } catch (NostoException $e) {
        // handle failure
    }

Get authenticated Nosto URL for the account controls

The Nosto account can be created and managed through the controls that should be accessible to the admin user in the shop's backend. The account controls will redirect to nosto.com.

    .....
    /**
     * @param ConnectionMetadataInterface $connection the connection meta data.
     * @param AccountInterface|null $account the configuration to return the url for.
     * @param UserInterface|null $user
     * @param array $params additional parameters to add to the connection url.
     */
    try
    {
        $url = Nosto::helper('connection')->getUrl($meta, $account, $user, $params);
    }
    catch (NostoException $e)
    {
        // handle failure
    }
    // render the link to the user with given url
    .....

Sending order confirmations using the Nosto API

Sending order confirmations to Nosto is a vital part of the functionality. OrderConfirm confirmations should be sent when an order has been completed in the shop. It is NOT recommended to do this when the "thank you" page is shown to the user, as payment gateways work differently and you cannot rely on the user always being redirected back to the shop after a payment has been made. Therefore, it is recommended to send the order conformation when the order is marked as payed in the shop.

OrderConfirm confirmations can be sent two different ways:

  • matched orders; where we know the Nosto customer ID of the user who placed the order
  • un-matched orders: where we do not know the Nosto customer ID of the user who placed the order

The Nosto customer ID is set in a cookie "2c.cId" by Nosto and it is up to the platform to keep a link between users and the Nosto customer ID. It is recommended to tie the Nosto customer ID to the order or shopping cart instead of an user ID, as the platform may support guest checkouts.

    .....
    try {
        /**
         * @var NostoOrderInterface $order
         * @var NostoSignupInterface $account
         * @var string $customerId
         */
        NostoOrderConfirmation::send($order, $account, $customerId);
    } catch (NostoException $e) {
        // handle error
    }
    .....

Sending product re-crawl requests using the Nosto API

Note: this feature has been deprecated in favor of the create/update/delete method below.

When a product changes in the store, stock is reduced, price is updated etc. it is recommended to send an API request to Nosto that initiates a product "re-crawl" event. This is done to update the recommendations including that product so that the newest information can be shown to the users on the site.

Note: the $product model needs to include only productId and url properties, all others can be omitted.

    .....
    try {
        /**
         * @var NostoProductInterface $product
         * @var NostoSignupInterface $account
         */
        NostoProductReCrawl::send($product, $account);
    } catch (NostoException $e) {
        // handle error
    }
    .....

Batch re-crawling is also possible by creating a collection of product models:

    .....
    try {
        /**
         * @var NostoExportProductCollection $collection
         * @var NostoProductInterface $product
         * @var NostoSignupInterface $account
         */
        $collection[] = $product;
        NostoProductReCrawl::sendBatch($collection, $account);
    } catch (NostoException $e) {
        // handle error
    }
    .....

Sending product create/update/delete requests using the Nosto API

When a product changes in the store, stock is reduced, price is updated etc. it is recommended to send an API request to Nosto to handle the updated product info. This is also true when adding new products as well as deleting existing ones. This is done to update the recommendations including that product so that the newest information can be shown to the users on the site.

Creating new products:

    .....
    try {
        /**
         * @var NostoProductInterface $product
         * @var NostoSignupInterface $account
         */
        $op = new UpsertProduct($account);
        $op->addProduct($product);
        $op->create();
    } catch (NostoException $e) {
        // handle error
    }
    .....

Note: you can call addProduct multiple times to add more products to the request. This way you can batch create products.

Updating existing products:

    .....
    try {
        /**
         * @var NostoProductInterface $product
         * @var NostoSignupInterface $account
         */
        $op = new UpsertProduct($account);
        $op->addProduct($product);
        $op->update();
    } catch (NostoException $e) {
        // handle error
    }
    .....

Note: you can call addProduct multiple times to add more products to the request. This way you can batch update products.

Deleting existing products:

    .....
    try {
        /**
         * @var NostoProductInterface $product
         * @var NostoSignupInterface $account
         */
        $op = new UpsertProduct($account);
        $op->addProduct($product);
        $op->delete();
    } catch (NostoException $e) {
        // handle error
    }
    .....

Note: you can call addProduct multiple times to add more products to the request. This way you can batch delete products.

Exporting encrypted product/order information that Nosto can request

When new Nosto accounts are created for a shop, Nosto will try to fetch historical data about products and orders. This information is used to bootstrap recommendations and decreases the time needed to get accurate recommendations showing in the shop.

For this to work, Nosto requires 2 public endpoints that can be called once a new account has been created through the API. These endpoints should serve the history data encrypted with AES. The SDK comes bundled with the ability to encrypt the data with a pure PHP solution (http://phpseclib.sourceforge.net/), It is recommended, but not required, to have mcrypt installed on the server.

Additionally, the endpoints need to support the ability to limit the amount of products/orders to export and an offset for fetching batches of data. These must be implemented as GET parameters "limit" and "offset" which will be sent as integer values and expected to be applied to the data set being exported.

    .....
    /**
     * @var NostoProductInterface[] $products
     * @var NostoSignupInterface $account
     */
    $collection = new NostoExportProductCollection();
    foreach ($products as $product) {
        $collection[] = $product;
    }
    // The exported will encrypt the collection and output the result.
    $cipher_text = NostoExporter::export($account, $collection);
    echo $cipher_text;
    // It is important to stop the script execution after the export, in order to avoid any additional data being outputted.
    die();
    .....
    /**
     * @var NostoOrderInterface[] $orders
     * @var NostoSignupInterface $account
     */
    $collection = new NostoExportOrderCollection();
    foreach ($orders as $order) {
        $collection[] = $order;
    }
    // The exported will encrypt the collection and output the result.
    $cipher_text = NostoExporter::export($account, $collection);
    echo $cipher_text;
    // It is important to stop the script execution after the export, in order to avoid any additional data being outputted.
    die();

Testing

The SDK is unit tested with Codeception (http://codeception.com/).

Running tests

First cd into the root directory.

Then install Codeception via composer:

    php composer.phar install

Then run the tests:

    vendor/bin/codecept run

Testing new added operation

The SDK unit test uses the apiary as the stub server. The apiary pulls the api-blueprint.md from master branch and builds fake api endpoints based on it. A way to test new added operation before merging it to master is using Drakov API Bleuprint Mock Server (https://github.com/Aconex/drakov) running on Node.

First cd into the root directory.

Then install Codeception via composer:

    php composer.phar install

After that you can install the drakov server via npm:

    npm install -g drakov

Update the endpoints in the tests/.env file:

    NOSTO_API_BASE_URL=localhost:3000
    NOSTO_OAUTH_BASE_URL=localhost:3000/oauth
    NOSTO_WEB_HOOK_BASE_URL=http://localhost:3000

Then start the drakov mock server with the API blueprint:

    drakov -f tests/api-blueprint.md

Then in another window run the tests:

    vendor/bin/codecept run

You can pass debugMode flag to the drakov server for debugging purposes:

    drakov -f tests/api-blueprint.md --debugMode

Running phpcs

First cd into the root directory.

Then the phpcs:

    phpcs --standard=ruleset.xml -v .

nosto-php-sdk's People

Contributors

dairbuirabass avatar dependabot[bot] avatar jluostar avatar liangde-chen avatar mridang avatar olsi-qose avatar peter279k avatar phonglynosto avatar supercid avatar tobiasgraml11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nosto-php-sdk's Issues

Account object should extend a Settings object

The account object is a superset of the information of the settings object. Currently when updating the settings to Nosto, we create a NostoAccount object and then only use a small subset of the fields when serializing to JSON. This would be a lot cleaner if a had a NostoSettings object and the NostoAccount object would extend it.

UpsertProduct Operation is not using the "toJson()" method of the Products

UpsertProduct::upsert() is using:
$response = $request->post($this->collection); to send the Products.

The ApiRequest::post() is using:
return $this->postRaw(SerializationHelper::serialize($content));

I suggest a AbstractCollection::toJson() method, which is calling the AbstractObject::toJson() method.

BONUS: Automatic UTF-8 Conversion if necessary ;-)

Fix simple serializable objects

The markup for the simple objects should be only one html tag. For example page type must be

<span class="nosto_page_type" style="display:none">front</span>

NOT

<span class="nosto_page_type" style="display:none">
   <span class="page_type">front</span>
</span>

ToDos

  • Add setValue into MarkupableString
  • Extend MarkupableString when implementing Category, PageType and SearchTerm objects

Rename repository to nosto-php-sdk

When forking the repository you end up with just lsolesen/php-sdk. That makes it a little hard to know what repository it actually is without digging into the code.

Separate the endpoints called from browser and server

With dockerised / virtualised environments & running Nosto locally it must be possible to separate the endpoints called from virtual machine to host and from browser to host.

For example NOSTO_WEB_HOOK_BASE_URL is used for loading the installation iframe in browser and to get the SSO url.

Move the Nosto embed script fallback constant here

All the extensions using the connect.nosto.com constant have it defined in their own codebase, why not add that constant here so when you need the embed script constant, you could just invoke a method like this

function getConnectURL()
{
  return self::getEnvVariable('NOSTO_SERVER_URL', self::DEFAULT_SERVER_ADDRESS);
}

Here are some examples:

https://github.com/Nosto/nosto-magento/blob/develop/app/code/community/Nosto/Tagging/Block/Embed.php#L39
https://github.com/Nosto/nosto-magento2/blob/develop/Block/Embed.php#L60

Add support for programmatic markup generation

If we can generate all the markup programmatically, then we won't need any templates in any of the extensions. Below is a snippet of code that uses a patches serializer (skips the json_encode) and passes the returned array object to this serializer.

    $x = \Nosto\Helper\SerializationHelper::serialize($product);
    echo self::toMarkup($x);

    private static function toMarkup($object, $indent = 0) {
        $markup = '';
        $spaces = str_repeat(' ', $indent);
        foreach ($object as $key => $value) {
            if (is_array($value)) {
                $output = self::toMarkup($value, $indent + 2);
                if (!empty($output)) {
                    $span = sprintf("<span class=\"%s\">", $key);
                    $endx = "</span>";
                    $markup .= $spaces . $span . PHP_EOL . $output . $spaces . $endx . PHP_EOL;
                }
            } else {
                if (!empty($value)) {
                    $span = sprintf("<span class=\"%s\">", $key);
                    $endx = "</span>";
                    $markup = $markup . $spaces . $span . $value . $endx . PHP_EOL;
                }
            }
        }
        return $markup;
    }

Here's some sample output when serializing a product:


<span class="url">http://mridang.dev.nos.to:8890/magento/210/default/breathe-easy-tank.html</span>
<span class="product_id">1817</span>
<span class="name">Breathe-Easy Tank</span>
<span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-white_main.jpg</span>
<span class="price">34</span>
<span class="list_price">34</span>
<span class="price_currency_code">EUR</span>
<span class="availability">InStock</span>
<span class="categories">
  <span class="0">/Women/Tops/Bras & Tanks</span>
  <span class="1">/Promotions/Women Sale</span>
  <span class="2">/Collections/Erin Recommends</span>
</span>
<span class="description"><p>The Breathe Easy Tank is so soft, lightweight, and comfortable, you won't even know it's there -- until its high-tech Cocona&reg; fabric starts wicking sweat away from your body to help you stay dry and focused. Layer it over your favorite sports bra and get moving.</p>
<p>&bull; Machine wash/dry.<br />&bull; Cocona&reg; fabric.</p></span>
<span class="variation_id">EUR</span>
<span class="inventory_level">1500</span>
<span class="review_count">2</span>
<span class="rating_value">3.5</span>
<span class="alternate_image_urls">
  <span class="0">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-white_back.jpg</span>
</span>
<span class="skus">
  <span class="0">
    <span class="id">1802</span>
    <span class="name">Breathe-Easy Tank-XS-Purple</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-purple_main.jpg</span>
    <span class="gtin">WT09-XS-Purple</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Purple</span>
      <span class="size">XS</span>
    </span>
  </span>
  <span class="1">
    <span class="id">1803</span>
    <span class="name">Breathe-Easy Tank-XS-White</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-white_main.jpg</span>
    <span class="gtin">WT09-XS-White</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">White</span>
      <span class="size">XS</span>
    </span>
  </span>
  <span class="2">
    <span class="id">1804</span>
    <span class="name">Breathe-Easy Tank-XS-Yellow</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-yellow_main.jpg</span>
    <span class="gtin">WT09-XS-Yellow</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Yellow</span>
      <span class="size">XS</span>
    </span>
  </span>
  <span class="3">
    <span class="id">1805</span>
    <span class="name">Breathe-Easy Tank-S-Purple</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-purple_main.jpg</span>
    <span class="gtin">WT09-S-Purple</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Purple</span>
      <span class="size">S</span>
    </span>
  </span>
  <span class="4">
    <span class="id">1806</span>
    <span class="name">Breathe-Easy Tank-S-White</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-white_main.jpg</span>
    <span class="gtin">WT09-S-White</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">White</span>
      <span class="size">S</span>
    </span>
  </span>
  <span class="5">
    <span class="id">1807</span>
    <span class="name">Breathe-Easy Tank-S-Yellow</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-yellow_main.jpg</span>
    <span class="gtin">WT09-S-Yellow</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Yellow</span>
      <span class="size">S</span>
    </span>
  </span>
  <span class="6">
    <span class="id">1808</span>
    <span class="name">Breathe-Easy Tank-M-Purple</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-purple_main.jpg</span>
    <span class="gtin">WT09-M-Purple</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Purple</span>
      <span class="size">M</span>
    </span>
  </span>
  <span class="7">
    <span class="id">1809</span>
    <span class="name">Breathe-Easy Tank-M-White</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-white_main.jpg</span>
    <span class="gtin">WT09-M-White</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">White</span>
      <span class="size">M</span>
    </span>
  </span>
  <span class="8">
    <span class="id">1810</span>
    <span class="name">Breathe-Easy Tank-M-Yellow</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-yellow_main.jpg</span>
    <span class="gtin">WT09-M-Yellow</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Yellow</span>
      <span class="size">M</span>
    </span>
  </span>
  <span class="9">
    <span class="id">1811</span>
    <span class="name">Breathe-Easy Tank-L-Purple</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-purple_main.jpg</span>
    <span class="gtin">WT09-L-Purple</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Purple</span>
      <span class="size">L</span>
    </span>
  </span>
  <span class="10">
    <span class="id">1812</span>
    <span class="name">Breathe-Easy Tank-L-White</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-white_main.jpg</span>
    <span class="gtin">WT09-L-White</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">White</span>
      <span class="size">L</span>
    </span>
  </span>
  <span class="11">
    <span class="id">1813</span>
    <span class="name">Breathe-Easy Tank-L-Yellow</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-yellow_main.jpg</span>
    <span class="gtin">WT09-L-Yellow</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Yellow</span>
      <span class="size">L</span>
    </span>
  </span>
  <span class="12">
    <span class="id">1814</span>
    <span class="name">Breathe-Easy Tank-XL-Purple</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-purple_main.jpg</span>
    <span class="gtin">WT09-XL-Purple</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Purple</span>
      <span class="size">XL</span>
    </span>
  </span>
  <span class="13">
    <span class="id">1815</span>
    <span class="name">Breathe-Easy Tank-XL-White</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-white_main.jpg</span>
    <span class="gtin">WT09-XL-White</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">White</span>
      <span class="size">XL</span>
    </span>
  </span>
  <span class="14">
    <span class="id">1816</span>
    <span class="name">Breathe-Easy Tank-XL-Yellow</span>
    <span class="price">34</span>
    <span class="list_price">34</span>
    <span class="image_url">http://mridang.dev.nos.to:8890/magento/210/pub/media/catalog/product/w/t/wt09-yellow_main.jpg</span>
    <span class="gtin">WT09-XL-Yellow</span>
    <span class="availability">InStock</span>
    <span class="custom_attributes">
      <span class="color">Yellow</span>
      <span class="size">XL</span>
    </span>
  </span>
</span>

Add additional new fields to SDK

The new fields that are available in the tagging should be available in the SDK as well.

  • GTIN
  • Google Category
  • Alt. Image URLS
  • Rating Value
  • Review Count
  • Inventory Level
  • Supplier Cost
  • SKU

Add support for new product fields

  • supplierCost
  • inventoryLevel
  • reviewCount
  • ratingValue
  • alternateImageUrls
  • condition
  • gender
  • ageGroup
  • gtin
  • googleCategory
  • unitPricingMeasure
  • unitPricingBaseMeasure
  • unitPricingUnit

Add namespaces

  • remove the Nosto prefixes from classes and add proper namespaces

Add customer operation

Add possibility to send customer data over the API. Use the token API_EMAIL for authentication.

Add support for the thumbnail URL in the product

In order for platforms to push the thumbnail-URL from the platform itself, we should add this to the product model. This would be great when we begin adding support for Fastly on Magento and allowing retailers to serve thumbnails from their own CDN instead of us.

Add page type constants to SDK

The SDK is missing all the default page-type constants and these could be added to the SDK

const PAGE_TYPE_FRONT_PAGE = 'front';
const PAGE_TYPE_CART = 'cart';
const PAGE_TYPE_PRODUCT = 'product';
const PAGE_TYPE_CATEGORY = 'category';
const PAGE_TYPE_SEARCH = 'search';
const PAGE_TYPE_NOTFOUND = 'notfound';
const PAGE_TYPE_ORDER = 'order';

Serialization Error of SKU Customfield-Keys

Keys with special chars like "Größe" end up like "gr":

<span class="custom_fields">
      <span class="gr">41</span>
      <span class="farbe">Weiß</span>
</span>

toJson() / API works fine!

Bubble up the sso error

Currently if the sso authentication fails, the error message and status code are discarded by sdk. That makes it difficult to debug the sso issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.