使用バージョン
- “Python”: 3.7.3
- “python-fmrest”: “1.1.0”
python-fmrest インストール
- command line
pip install python-fmrest
APIアクセスして辞書型のデータ取得
fms = fmrest.Server('https://hoge.filemaker-cloud.com',
user='user',
password='pwwwwwwwww',
database='database_name',
layout='layout',
verify_ssl=False)
fms.login()
items = fms.get_records(limit=1000)
dict_item = item.to_dict()
verify_ssl は証明書が無効なら False
設定しておく。
あとは、ループ回すなりしてCSVに吐いたり、どこかにPOSTしたり、別のDBに突っ込んだりすればよい。