Message 1 of 6

Not applicable
01-05-2020
06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm trying to create a pyRevit button which uses some information I'm getting from a website api using REST requests.
All is working fine when I'm just requesting and running the code on Visual Studio Code, but once I try to turn the whole thing into a button it seams like it doesn't recognize the 'requests' module.
I've been searching and searching but didn't find any information about how to import a module pyRevit doesn't recognize automatically or about a different inherent module suitable for my needs.
Would really appreciate any advise about the matter.
I have attached a print screen of the code.
Best,
Ifat.
Solved! Go to Solution.