{"id":20119612,"url":"https://github.com/box/samples","last_synced_at":"2025-10-10T06:34:44.635Z","repository":{"id":14405847,"uuid":"75128457","full_name":"box/samples","owner":"box","description":"Code snippets and samples to demonstrate how to get the most out of the Box platform \u0026 API","archived":false,"fork":false,"pushed_at":"2022-06-07T07:43:57.000Z","size":4256,"stargazers_count":66,"open_issues_count":6,"forks_count":85,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-06T14:37:24.309Z","etag":null,"topics":["box","lambda","node","sample","sdk","webhook"],"latest_commit_sha":null,"homepage":"https://docs.box.com/docs","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/box.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-29T22:35:06.000Z","updated_at":"2025-03-07T23:33:06.000Z","dependencies_parsed_at":"2022-07-24T20:32:00.241Z","dependency_job_id":null,"html_url":"https://github.com/box/samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/box/samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fsamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fsamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fsamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fsamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/box","download_url":"https://codeload.github.com/box/samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fsamples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002969,"owners_count":26083489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["box","lambda","node","sample","sdk","webhook"],"created_at":"2024-11-13T19:16:18.332Z","updated_at":"2025-10-10T06:34:44.621Z","avatar_url":"https://github.com/box.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Box Samples\n====================\n\nThis repo is dedicated to sharing code snippets and samples to demonstrate how to get the most out of the Box platform \u0026 API. It will include specific use cases, showcasing integrations and other creative uses of the Box API.\n\nIndex\n-----\n\n[box-node-lambda-sample](https://github.com/box/samples/tree/master/box-node-lambda-sample)\nThis sample demonstrates how to call Box APIs from an AWS Lambda function using the [Box Node SDK](https://github.com/box/box-node-sdk).\nThis lets you call Box from a Lambda function.\n\n[box-node-webhook-to-lambda-sample](https://github.com/box/samples/tree/master/box-node-webhook-to-lambda-sample)\nThis sample shows how to connect a Box webhook to an AWS Lambda function via API Gateway.\nThis lets you call a Lambda function from Box. \n\n[box-node-rekognition-lambdas-sample](https://github.com/box/samples/tree/master/box-node-rekognition-lambdas-sample)\nThis sample shows how to connect Box with AWS Rekognition service. An AWS lambda function uses the AWS Rekognitions service to analyse the image uploaded in Box and updates the metadata of the image file in Box.\n\n[box-node-cognito-lambdas-sample](https://github.com/box/samples/tree/master/box-node-cognito-lambdas-sample)\nThis sample shows how to integrate Box with AWS Cognito service. Every user created in the Cognito pool is created as an app user in the Box enterprise. Using the Cognito JWT user token, the app user token can be generated from Box. Using Box's app user token, the user performs operations in Box.\n\n[box-java-servlet-skeleton-app](https://github.com/box/samples/tree/master/box-java-servlet-skeleton-app)\nThis sample is a simple Java servlet demonstrating the basics of authentication and token management for creating an App User based custom app using the Box Platform APIs. The project includes server side HTML rendering and an example on how to upload to Box directly from the client side.\n\n[box-aspnet-mvc-skeleton-app](https://github.com/box/samples/tree/master/box-aspnet-mvc-skeleton-app)\nThis sample is a .Net MVC app demonstrating the basics of authentication and token management for creating an App User based custom app using the Box Platform APIs. The project includes server side HTML rendering and an example on how to upload to Box directly from the client side.\n\n[box-node-express-skeleton-app](https://github.com/box/samples/tree/master/box-node-express-skeleton-app)\nThis sample is a Node.js app using the Express framework demonstrating the basics of authentication and token management with caching for creating an App User based custom app using the Box Platform APIs. The project includes server side HTML rendering and an example on how to upload to Box directly from the client side.\n\n[box-auth0-angular2-skeleton-app-sample](https://github.com/box/samples/tree/master/box-auth0-angular2-skeleton-app-sample)\nThis sample demonstrates how to build a serverless web client application in Angular 2 that makes use of [Box Platform's integration with Auth0](https://github.com/auth0-extensions/auth0-box-platform-extension).\n\n[box-auth0-angular1-skeleton-app-sample](https://github.com/box/samples/tree/master/box-auth0-angular1-skeleton-app-sample)\nThis sample demonstrates how to build a serverless web client application in Angular 1 that makes use of [Box Platform's integration with Auth0](https://github.com/auth0-extensions/auth0-box-platform-extension).\n\n[box-auth0-swift-skeleton-app-sample](https://github.com/box/samples/tree/master/box-auth0-swift-skeleton-app-sample)\nThis sample demonstrates how to build an iOS application using Swift that makes use of [Box Platform's integration with Auth0](https://github.com/auth0-extensions/auth0-box-platform-extension).\n\n[box-aws-cognito-angular2-skeleton-app-sample](https://github.com/box/samples/tree/master/box-aws-cognito-angular2-skeleton-app-sample)\nThis sample demonstrates how to build a serverless web client application in Angular 2 that makes use of [Box Platform's integration with AWS Cognito](https://github.com/box/samples/tree/master/box-node-cognito-lambdas-sample).\n\nSupport\n-------\n\nNeed to contact us directly? You can post to the\n[Box Developer Forum](https://community.box.com/t5/Developer-Forum/bd-p/DeveloperForum).\n\nCopyright and License\n---------------------\n\nCopyright 2016 Box, Inc. All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbox%2Fsamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbox%2Fsamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbox%2Fsamples/lists"}