Coder Social home page Coder Social logo

cclauss / dropboxbusinessscripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dropbox/dropboxbusinessscripts

0.0 2.0 0.0 133 KB

Scripting resources to serve as a base for common Dropbox Business tasks

License: Apache License 2.0

Python 87.82% PowerShell 8.25% Java 3.92%

dropboxbusinessscripts's Introduction

DropboxBusinessScripts

Dropbox Business & Dropbox Enterprise Scripts

Included here are scripting resources to serve as a base for common Dropbox Business and Dropbox Enterprise tasks.

Licensing

All scripts within this folder are covered by the Apache License as described in LICENSE.txt.

Please carefully note:

"Disclaimer of Warranty. [...] the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License."

Script Conventions

Every script should:

  • Have comments at top of file regarding usage (including API permission)
  • Take command-line arguments. (script) -h should print usage/description
    • Use argparse for python
    • Use commons-cli for java
    • Javascript/php/powershell equivalents? β€” Prompt for API token (and tell you type/permission level it needs)
    • We don’t want to save the token in the file, or pass it as an arg on CLI (too easy to accidentally expose in file/bash_history)
  • Use camel-cased file names (no dashes). 3-5 words. Roughly equivalent scripts in the same language should share the same name.

Tips

  • For help in powershell: Get-Help .\filename.ps1
  • Internationalization: Test scripts with some non-latin characters in file strings / usernames when possible. For example, python needs to call reload(sys) / sys.setdefaultencoding('UTF8') to be happy with nonlatin strings.

dropboxbusinessscripts's People

Contributors

kevinjordan avatar kanderson417 avatar chadduffey avatar watermint avatar leenbean avatar julink17 avatar

Watchers

Christian Clauss avatar  avatar

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.