apiverve_jobsreport 1.2.5
apiverve_jobsreport: ^1.2.5 copied to clipboard
Jobs Report provides monthly US employment data including unemployment rate, total employment, labor force participation, and employment by industry sector. The same data released in the monthly BLS j [...]
Jobs Report API - Dart/Flutter Client #
Jobs Report provides monthly US employment data including unemployment rate, total employment, labor force participation, and employment by industry sector. The same data released in the monthly BLS jobs report.
This is the Dart/Flutter client for the Jobs Report API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_jobsreport: ^1.2.5
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage #
import 'package:apiverve_jobsreport/apiverve_jobsreport.dart';
void main() async {
final client = JobsreportClient('YOUR_API_KEY');
try {
final response = await client.execute({
'date': '2023-06'
});
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response #
{
"status": "ok",
"error": null,
"data": {
"yearMonth": "2024-01",
"year": 2024,
"month": 1,
"jobsChangeDirection": "growth",
"summary": {
"unemploymentRate": 3.7,
"laborForceParticipation": 62.5,
"totalEmployed": 161152000,
"totalUnemployed": 6124000,
"laborForce": 167276000,
"jobsChange": 353000
},
"nonfarmPayrolls": {
"total": 157245000,
"private": 133567000
},
"bySector": {
"mining": 645000,
"construction": 8123000,
"manufacturing": 12987000,
"tradeTransportUtilities": 29456000,
"information": 2987000,
"financialActivities": 9234000,
"professionalBusiness": 22876000,
"educationHealth": 25678000,
"leisureHospitality": 16789000,
"otherServices": 5892000,
"government": 23678000
},
"topSector": "Trade, Transport & Utilities",
"formatted": {
"totalEmployed": "161.15M",
"totalUnemployed": "6.12M",
"laborForce": "167.28M",
"jobsChange": "+353.0K",
"nonfarmPayrolls": "157.25M"
}
}
}
API Reference #
- API Home: Jobs Report API
- Documentation: docs.apiverve.com/ref/jobsreport
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve