Package: pyfwc
pyfwcA simple python wrapper for Australian Fair Work Commission API (https://uatdeveloper.fwc.gov.au/)RequirementsRegister on theofficial websiteand obtain a subscription keyInstall package by the following command:pip install pyfwcUsageCreate FWC API objectfrompyfwcimportFWCAPIfwc=FWCAPI(YOUR_SUBSCRIPTION_KEY)AwardRetrieve all awards for the specified parametersfwc.get_awards(name='mining')award_idaward_fixed_idcodenameaward_operative_fromaward_operative_toversion_numberlast_modified_datetimepublished_year011321MA000001Black Coal Mining Industry Award 20202010-01-01T00:00:00+00:00None32022-01-17T16:12:10+00:0020211114211MA000011Mining Industry Award 20202010-01-01T00:00:00+00:00None22022-01-20T15:49:41+00:002021Retrieve specific award using an award identifierfwc.get_award(id_or_code='MA000001').head(3)award_idaward_fixed_idcodenameaward_operative_fromaward_operative_toversion_numberlast_modified_datetimepublished_year001MA000001Black Coal Mining Industry Award 20202010-01-01T00:00:00+00:00None32022-01-17T16:12:10+00:002021101MA000001Black Coal Mining Industry Award 20202010-01-01T00:00:00+00:00None32021-06-26T11:33:16+00:002020201MA000001Black Coal Mining Industry Award 20202010-01-01T00:00:00+00:00None32019-10-23T11:12:07+00:002019ClassificationsRetrieve a current individual classification using a fixed identifier.fwc.get_classification(id_or_code='MA000002',classification_fixed_id='98')classification_fixed_idclause_fixed_idclausesclause_descriptionparent_classification_nameclassificationclassification_levelnext_down_classification_fixed_idnext_up_classification_fixed_idoperative_fromoperative_toversion_numberlast_modified_datetimepublished_year098316.1Clerical EmployeesNoneLevel 1—Year 11None992021-07-01T00:00:00+00:00None12022-03-03T18:52:51+00:002021Retrieve all the pay-rates for an award using an award identifier.fwc.get_payrates(id_or_code='MA000001').head(3)classification_fixed_idbase_pay_rate_idbase_rate_typebase_ratecalculated_pay_rate_idcalculated_rate_typecalculated_rateparent_classification_nameclassificationclassification_levelemployee_rate_type_codeoperative_fromoperative_toversion_numberpublished_yearlast_modified_datetime018NoneNoneNaNNoneNone0.0Group B(Adult coal mining industry employee engaged i...NaNNone2021-07-01T00:00:00+00:00None120212022-03-03T18:52:51+00:0018NoneNaNNoneNone0.0Group A(Adult coal mining industry employees, without...NaNNone2021-07-01T00:00:00+00:00None220212022-03-03T18:52:51+00:00290835NoneNoneNaNNoneNone0.0Adult apprenticesAdult apprentices - % of the Mineworker - Indu...NaNNone2021-07-01T00:00:00+00:00None120212022-01-13T16:41:36+00:00Retrieve award classification information using an award identifier.fwc.get_classifications(id_or_code='MA000012').head(3)classification_fixed_idclause_fixed_idclausesclause_descriptionparent_classification_nameclassificationclassification_levelnext_down_classification_fixed_idnext_up_classification_fixed_idoperative_fromoperative_toversion_numberlast_modified_datetimepublished_year05493116.1Pharmacy employeesNonePharmacy assistant level 11.0NaN553.02021-07-01T00:00:00+00:00None12022-03-03T18:52:51+00:00202115533116.1Pharmacy employeesNonePharmacy student—1st year of course1.0549.0550.02021-07-01T00:00:00+00:00None12022-03-03T18:52:51+00:00202125503116.1Pharmacy employeesNonePharmacy assistant level 22.0553.0554.02021-07-01T00:00:00+00:00None12022-03-03T18:52:51+00:002021Retrieve the current pay-rate for a classification using a fixed identifier.fwc.get_current_payrate(id_or_code='MA000012',classification_fixed_id='549')classification_fixed_idbase_pay_rate_idbase_rate_typebase_ratecalculated_pay_rate_idcalculated_rate_typecalculated_rateparent_classification_nameclassificationclassification_levelemployee_rate_type_codeoperative_fromoperative_toversion_numberpublished_yearlast_modified_datetime0549BR90099Weekly848.5CR25779Hourly22.33NonePharmacy assistant level 11AD2021-07-01T00:00:00+00:00None120212022-03-03T18:52:51+00:00Expense AllowancesRetrieve a current individual expense-related allowance using a fixed identifier.fwc.get_expense_allowance(id_or_code='MA000012',expense_allowance_fixed_id='49')expense_allowance_fixed_idclause_fixed_idclausesallowance_type_codeparent_allowanceallowanceis_all_purposeallowance_amountpayment_frequencylast_adjusted_yearcpi_quarter_last_adjustedoperative_fromoperative_toversion_numberlast_modified_datetimepublished_year049186419.3(b)(i)NoneNoneMeal allowance—overtime which exceeds 1.5 hour...False19.69per occasion2020March Quarter2021-07-01T00:00:00+00:00None12022-02-15T15:41:38+00:002021Retrieve award expense-related allowance information using an award identifier.fwc.get_expense_allowances(id_or_code='MA000012').head(3)expense_allowance_fixed_idclause_fixed_idclausesallowance_type_codeparent_allowanceallowanceis_all_purposeallowance_amountpayment_frequencylast_adjusted_yearcpi_quarter_last_adjustedoperative_fromoperative_toversion_numberlast_modified_datetimepublished_year049186419.3(b)(i)NoneNoneMeal allowance—overtime which exceeds 1.5 hour...False19.69per occasion2020March Quarter2021-07-01T00:00:00+00:00None12022-02-15T15:41:38+00:002021196602317319.3(c)NoneNoneMeal allowance—overtime which exceeds 4 hoursFalse17.64per occasion2020March Quarter2021-07-01T00:00:00+00:00None12022-02-15T15:41:38+00:002021253186719.7NoneNoneMotor vehicle allowanceFalse0.80per km2020March Quarter2020-07-01T00:00:00+00:00None12022-02-15T15:41:38+00:002021PenaltiesRetrieve all the penalties for an award using an award identifier.fwc.get_penalties(id_or_code='MA000012').head(3)penalty_fixed_idclause_fixed_idclause_descriptionclassification_levelpenalty_codepenalty_descriptionrateemployee_rate_type_codepenalty_calculated_valuecalculated_includes_all_purposebase_pay_rate_idoperative_fromoperative_toversion_numberpublished_yearlast_modified_datetime0213221735Full-time and part-time adult employees—penalt...1NoneSaturday - Between 6.00 pm and 9.00 pm150.0AD33.50FalseBR900992021-07-01T00:00:00+00:00None120212022-01-21T13:24:14+00:001213221735Full-time and part-time adult employees—penalt...1NoneSaturday - Between 6.00 pm and 9.00 pm150.0AD33.50FalseBR901032021-07-01T00:00:00+00:00None120212022-01-21T13:24:14+00:002213321735Full-time and part-time adult employees—penalt...1NoneSaturday - Between 9.00 pm and midnight175.0AD39.08FalseBR900992021-07-01T00:00:00+00:00None120212022-01-21T13:24:14+00:00Wage AllowancesRetrieve a current individual wage-related allowance using a fixed identifier.fwc.get_wage_allowance(id_or_code='MA000012',wage_allowance_fixed_id='191')wage_allowance_fixed_idclause_fixed_idclausesallowance_type_codeparent_allowanceallowanceis_all_purposeraterate_unitbase_pay_rate_idallowance_amountpayment_frequencyoperative_fromoperative_toversion_numberlast_modified_datetimepublished_year019178819.9NoneNoneBroken Hill allowanceFalse4.28PercentBR9010138.5per week2021-07-01T00:00:00+00:00None12022-03-03T09:01:31+00:002021Retrieve award wage-related allowance information using an award identifier.fwc.get_wage_allowances(id_or_code='MA000012').head(3)wage_allowance_fixed_idclause_fixed_idclausesallowance_type_codeparent_allowanceallowanceis_all_purposeraterate_unitbase_pay_rate_idallowance_amountpayment_frequencyoperative_fromoperative_toversion_numberlast_modified_datetimepublished_year019178819.9NoneNoneBroken Hill allowanceFalse4.28PercentBR9010138.50per week2021-07-01T00:00:00+00:00None1.02022-03-03T09:01:31+00:0020211120112300019.2NoneNoneHome medicine reviews or residential medicatio...False0.00PercentBR90109106.40per week2021-07-01T00:00:00+00:00None1.02022-03-03T09:01:31+00:002021219178819.9NoneNoneBroken Hill allowanceFalse4.28PercentNone37.56per week2020-07-01T00:00:00+00:002021-06-30T00:00:00+00:00NaN2022-03-03T09:01:31+00:002020ContributionContributors and committers are are welcome.