Git Product home page Git Product logo

filemaker-admin's Introduction

Beezwax Logo

FileMaker-Admin

A Python class for managing a FileMaker 17 Server or FileMaker Cloud 17 server using its REST interface. Tested against Python verison 2.7.10.

A version including support for working with the fmsadmin command line tool is planned, but not yet implemented.

USAGE EXAMPLE

The following example will display all available database, schedule, and client information for a server.


# Used to format output & exceptions
import pprint, sys
pp = pprint.PrettyPrinter(indent=4)

####################################
hostname="hostname.domain.com"
account="youraccount"
password="serverpass"
cloudServer=True
####################################

try:
    fac = filemaker_admin_rest (hostname, account, password, usingCloud=cloudServer)
    pp.pprint (fac.list_databases())
    pp.pprint (fac.list_schedules())
    pp.pprint (fac.list_clients())
except:
    exType, exValue, exTraceback = sys.exc_info()
    print
    print "Error running script"
    print("Type : %s " % exType.__name__)
    print("Message : %s" %exValue)
    print

# If login was succesful be sure we kill session.
if 'fac' in globals():
    fac.logout()

=======

parent of 73f6b43... added example to README

References


Built by Beezwax

filemaker-admin's People

Contributors

sibrcode 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.