Example Python Script to access Office 365 API
- or -
Post a project like this$$
- Posted:
- Proposals: 4
- Remote
- #1300156
- Expired
Description
Experience Level: Intermediate
Hi Graeme,
I need to develop a Python Script that will access the Office 365 API (Probably via Microsoft Graph) from a legacy system using Python.
Because of the legacy nature of the system it presents an additional challenge (because no recent version of Python is available). The most recent version of Python I have been able to compile is 2.5.1 and the version that ships with the OS is 2.3.4.
I have been able to write some some applications in Windows Powershell but I need to port these to Python which I do not have much experience in but intend to learn.
At this time I don't want the script to do anything particularly useful other than prove the concept that we can call these REST APIs from the legacy version of Unix using an old version of Python.
So for example, sending an email using the API, or reading an entry from the calendar etc.
There is lots of code samples on the internet, but none are using the latest methods from Microsoft and most have dependencies that I cannot satisfy on the older platform, but I believe you could work around this with your skills.
I fully appreciate that you may not be familiar with the Office 365 API and I will therefore have to pay for your time to become familiar with it. You will also need an Office 365 account to test the application (you can get a 30 day trial or I can just give you an account).
When and if the script is used to do something useful it will be run non-interactively, so how it looks isn't important (it will be a simple console application).
Here is a good example that shows the flow of how the application works in Powershell:
https://blogs.technet.microsoft.com/ronba/2016/05/09/using-powershell-and-the-office-365-rest-api-with-oauth/
There are also a few examples of the same process taking place in Python, but despite being written in Powershell, the example above is quite a nice example.
I may not have given you enough information to get started, because I am not sure how much you know or do not know about Office 365 at this time, but from what I can gather from the documentation, what I am trying to achieve should be possible (despite the old version of Python).
If you are wondering about the old version of Python, it is because the underlying operating system is SCO Openserver 5.0.7 from 1999. I have the native development kit (which includes the C Compiler) and an old version of GCC, but neither are able to compile a recent Python. I might try a bit more to see if I can achieve it, but I am not hopeful.
Do you think you could build a proof of concept in 6 hours (£210)
Kind Regards
Paul
I need to develop a Python Script that will access the Office 365 API (Probably via Microsoft Graph) from a legacy system using Python.
Because of the legacy nature of the system it presents an additional challenge (because no recent version of Python is available). The most recent version of Python I have been able to compile is 2.5.1 and the version that ships with the OS is 2.3.4.
I have been able to write some some applications in Windows Powershell but I need to port these to Python which I do not have much experience in but intend to learn.
At this time I don't want the script to do anything particularly useful other than prove the concept that we can call these REST APIs from the legacy version of Unix using an old version of Python.
So for example, sending an email using the API, or reading an entry from the calendar etc.
There is lots of code samples on the internet, but none are using the latest methods from Microsoft and most have dependencies that I cannot satisfy on the older platform, but I believe you could work around this with your skills.
I fully appreciate that you may not be familiar with the Office 365 API and I will therefore have to pay for your time to become familiar with it. You will also need an Office 365 account to test the application (you can get a 30 day trial or I can just give you an account).
When and if the script is used to do something useful it will be run non-interactively, so how it looks isn't important (it will be a simple console application).
Here is a good example that shows the flow of how the application works in Powershell:
https://blogs.technet.microsoft.com/ronba/2016/05/09/using-powershell-and-the-office-365-rest-api-with-oauth/
There are also a few examples of the same process taking place in Python, but despite being written in Powershell, the example above is quite a nice example.
I may not have given you enough information to get started, because I am not sure how much you know or do not know about Office 365 at this time, but from what I can gather from the documentation, what I am trying to achieve should be possible (despite the old version of Python).
If you are wondering about the old version of Python, it is because the underlying operating system is SCO Openserver 5.0.7 from 1999. I have the native development kit (which includes the C Compiler) and an old version of GCC, but neither are able to compile a recent Python. I might try a bit more to see if I can achieve it, but I am not hopeful.
Do you think you could build a proof of concept in 6 hours (£210)
Kind Regards
Paul
Paul M.
100% (28)Projects Completed
27
Freelancers worked with
26
Projects awarded
54%
Last project
6 Jul 2022
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies