Contact us if you want to be involved with the developer program of Bridgescore+.
This gives you access to Bridgescore+ XML Schema and Bridgescore+ APIs.
Ideal if you are developing third-party applications, e.g. Bridge tablets.
Example: Set the ACBL number for seat in a team event
Create file post_set_players.json:
{"data":
{"players":
[
{"ID":"1000012","table":1,"direction":"N"},
{"ID":"1000020","table":1,"direction":"E"},
{"ID":"1000039","table":1,"direction":"S"},
{"ID":"1000047","table":1,"direction":"W"},
{"ID":"1000063","table":2,"direction":"N"},
{"ID":"1000705","table":2,"direction":"E"},
{"ID":"1000071","table":2,"direction":"S"},
{"ID":"1000090","table":2,"direction":"W"},
]
}
}
Create file post_set_players.sh. Replace user:password below with the user and password for the site
#!/bin/sh
# Change the 70 below to the team section you need
URL='d26.bridgescoreplus.com/team_sections/70'
curl -X POST -H "Content-Type:application/json" -H 'Accept: application/json' --basic -u user:password --data-binary @post_set_players.json ${URL}/set_players
Run post_set_players.sh to set the data in Bridgescore+.
Copyright © 2014-2022 Hammond Software.