Skip to content

Commit 434d793

Browse files
committed
README: Add an example for loading from URL
1 parent 7feb1c4 commit 434d793

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ int main(int argc, char **argv) {
108108
}
109109
```
110110
111+
Loading projects from [scratch.mit.edu](https://scratch.mit.edu/) is supported too:
112+
```cpp
113+
libscratchcpp::Project p("https://scratch.mit.edu/projects/XXXXXX");
114+
```
115+
111116
<!-- TODO: Add link to documentation -->
112117

113118
<p align="right">(<a href="#readme-top">back to top</a>)</p>
@@ -139,7 +144,7 @@ int main(int argc, char **argv) {
139144
- [ ] Scratch 2.0 to 3.0 converter (help needed)
140145
- [ ] Scratch 1.4 and below to 3.0 converter (help needed)
141146
- [ ] API for comments
142-
- [ ] API for loading projects from URL
147+
- [x] API for loading projects from URL
143148

144149
See the [open issues](https://github.com/scratchcpp/libscratchcpp/issues) for a full list of proposed features (and known issues).
145150

0 commit comments

Comments
 (0)