![]() $ python -m fyle_archive_utility expenses -state='APPROVED' -file_format=json -path='/Users/sravankumar/Desktop' -approved_at_lte='T00:00:00.000Z' // Lists out all the expenses of your org that match the parameters with date filters and saves it as a json file in the given path ![]() $ python -m fyle_archive_utility expenses -state='APPROVED' -file_format=csv -path='/Users/sravankumar/Desktop' -approved_at_lte='T00:00:00.000Z' // Lists out all the expenses of your org that match the parameters with date filters and saves it as a csv file in the given path $ python -m fyle_archive_utility expenses -state='APPROVED' -file_format=json -path='/Users/sravankumar/Desktop' -approved_at_gte='T00:00:00.000Z' // Lists out all the expenses of your org that match the parameters with date filters and saves it as a json file in the given path $ python -m fyle_archive_utility expenses -state='APPROVED' -file_format=csv -path='/Users/sravankumar/Desktop' -approved_at_gte='T00:00:00.000Z' // Lists out all the expenses of your org that match the parameters with date filters and saves it as a csv file in the given path $ python -m fyle_archive_utility expenses -state='APPROVED' -file_format=json -path='/Users/sravankumar/Desktop' // Lists out all the expenses of your org that match the parameters and saves it as a json file in the given path $ python -m fyle_archive_utility expenses -state='COMPLETE' -file_format=csv -path='/Users/sravankumar/Desktop' // Lists out all the expenses of your org that match the parameters and saves it as a csv file in the given path $ python -m fyle_archive_utility expenses -file_format=json -path='/Users/sravankumar/Desktop' // Lists out all the expenses of your org that match the parameters and saves it as a json file in the given path Now you are able to access the command line interface for downloading Fyle data $ python -m fyle_archive_utility expenses -file_format=csv -path='/Users/sravankumar/Desktop' // Lists out all the expenses of your org that match the parameters and saves it as a csv file in the given path Once you are connected your credentials will be saved and you can access your data To use this archive utility you'll need these Fyle credentials : client ID, client secret and refresh token. Install it from pip $ pip install fyle-archive-utility You can download this project and use it ( copy in your own project, etc) This project requires python 3.7+, fylesdk and click library
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |