{"id":18632482,"url":"https://github.com/aaronjackson/sage-in-c","last_synced_at":"2025-04-11T07:31:03.331Z","repository":{"id":81726894,"uuid":"15641323","full_name":"AaronJackson/sage-in-c","owner":"AaronJackson","description":":books: Simple library written in C for accessing invoices and company data created by Sage Accounts 50.","archived":false,"fork":false,"pushed_at":"2014-01-07T23:23:07.000Z","size":196,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T23:47:51.594Z","etag":null,"topics":["sage-a"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AaronJackson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.TXT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-04T23:09:28.000Z","updated_at":"2023-11-05T13:50:09.000Z","dependencies_parsed_at":"2023-02-25T00:16:06.601Z","dependency_job_id":null,"html_url":"https://github.com/AaronJackson/sage-in-c","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJackson%2Fsage-in-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJackson%2Fsage-in-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJackson%2Fsage-in-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJackson%2Fsage-in-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AaronJackson","download_url":"https://codeload.github.com/AaronJackson/sage-in-c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358840,"owners_count":21090442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sage-a"],"created_at":"2024-11-07T05:12:16.348Z","updated_at":"2025-04-11T07:31:03.056Z","avatar_url":"https://github.com/AaronJackson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sage-in-C\n\nA small C library designed to allow read only access to Sage Accounts 50 data without having to use the ODBC driver. This is particularly useful if you need to access the data from a none-Windows machine (which was the intended purpose). \n\nOne possible application of this library might be a tool to synchronise invoices from Sage to an SQL server.\n\n## Demonstration \n\n`demo/main.c` is a simple demonstration which asks for an invoice number and then prints out a few details about the invoice. For example:\n\n```\n$ make\nmkdir -p build\ngcc src/*.c demo/*.c -o build/main\n\n$ ./build/main\nEnter an Invoice Number: 8900\nYou entered: 8900\n\nInvoice Number: 8900\n  Company Name: Customer Name                                               \n       Creator: MANAGER  \n          Date: Mon Jan  5 00:00:00 2014\n          \n   Modified On: Mon Jan  6 00:26:35 2014\n    Created on: Sun Jan  5 20:08:54 2014\nDate Processed: Mon Jan  6 00:26:35 2014\n       Printed: No\n       Emailed: Yes\n        Posted: No\n        \n| PRODUCT CODE                   | DESCRIPTION                                                  | Q |\n| KitKat                         | Chocolate-covered wafer biscuit bar                          | 5 |\n        \n```\n\n## Further Work!\n\n* Fill in the missing fields from the two supported tables (Invoice, Invoice Item)\n* Add support for additional tables\n* Add partial support for the index tables, not really sure how useful they are though\n\n## Contributions\n\nI would love contributions. If you find a bug or merely an improvement, please send a pull request. I am not a very good C programmer so I'm sure there are many problems with my code. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjackson%2Fsage-in-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronjackson%2Fsage-in-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjackson%2Fsage-in-c/lists"}