Git Product home page Git Product logo

osm-extend's Introduction

OSM Extend

Connect to Online Scout Manager and perform some of the tasks that are currently not available via the service.

Functions Available:

  • Create and maintain a Flexi-Record showing the completion status of Challenge Badges
  • Count the number of Knots completed by Beavers from a Flexi-Record and update Challenge badges once requirements are met
  • Count the number of Activity and Staged Badges completed and update Chief Scout badge requirements for a total number when requirement is met

OSM Class

This project creates a new class (OSM) which combines some of the most useful data into one object such as:

section = OSM('scouts')
section.size
section.current_term
section.scouts
section.terms
section.name
section.id

Using OSM Extend

This repo is just an example, which is in use by me and my section. It will change and grow as new items are developed.

The idea behind this project is to host the repo and trigger main.py on a schedule to gather updates and keep on track of requirements etc.

There are sensitive values required, as such these must be stored in a file called .env and contain the OSM API ID and OSM API Secret (see example.env). You can get these values from OSM -> Settings -> My Account Details -> Developer Tools, simply create a new Application and copy the values you are presented with into your .env file.

Requirements

The following libraries are used within this project:

tabulate
datetime
requests_oauth2client
os
dotenv
requests

Example hosting information

To follow.

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.