IronLedger program file checker

Check a training program written as a CSV or TSV file exactly as the IronLedger app will import it, before anyone loads it on a phone. Returns the weeks, sessions and exercises it creates, every skipped row and warning with its row number, the exercise names the app will question ("Did you mean ...?"), and names that will become new custom exercises. Use it whenever you write a program for someone to import into IronLedger, and fix anything it reports first. The app names the program after the file, so pass the file name you will give it.

Method: The IronLedger app importer (parseProgramImport, app v1.10.1), ported line for line and matched against the app on 35,000 generated files. Exercise names are checked against the app’s 202-name library with its 0.8 token-similarity threshold.

get/api/tools/program-file

Request

  • Base URL: https://www.ironledger.app
  • URL: https://www.ironledger.app/api/tools/program-file
  • Auth: none declared

Query parameters

filestring required

The whole program file as text. Canonical header: Week,Day,Exercise,Sets,Reps,Load,RPE,RIR,Rest,Notes, then one row per exercise, such as 1,Day 1,Squat,5,5,100 kg,8,,3:00,belt. Wrap a cell that contains a comma in double quotes; never use a double quote inside a cell.

fileNamestring

The file name it will be saved as, such as "Texas Method.csv". The app names the program after it; without one the program is called Imported Spreadsheet.

Response

The result, a one-line summary, the method used and a link to the same result on the site.

toolstring required
versionstring
summarystring required
resultobject required
methodstring
urlstring uri required

Changes

No recorded changes to this operation across all 1 revision of this API.