GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   GFY Jobs and Services Market (https://gfy.com/forumdisplay.php?f=42)
-   -   Hiring I am looking for a web developer (GitHub API) (https://gfy.com/showthread.php?t=1365369)

medivhcodes 06-03-2023 08:42 AM

I am looking for a web developer (GitHub API)
 
Hey,

I am looking for a web developer (PHP/JS).

I would like use this:
github.com/icecoder/ICErepo

It hasn't been touched since 2018. I think the GitHub API has changed since then and this is the problem.

I think it just needs to be updated to work.

Email: medivhcodes AT protonmail DOT com

Thanks.

medivhcodes 06-03-2023 08:45 AM

Solving the first problem maybe:

settings.php file (111. line):

Code:

if ( FALSE ) { // if (get_magic_quotes_gpc ()) {
This function has been DEPRECATED as of PHP 7.4.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged.

medivhcodes 06-03-2023 08:55 AM

I think the second problem:

Need this (API docs):

Code:

/repos/{owner}/{repo}/git/trees/{tree_sha}
But maybe I see that a call:

Code:

/repos/{owner}/{repo}/git/trees/master?recursive=true&1685804128334
master? I think need SHA hash. Maybe the old API use string, not SHA hash.

I don't have time for this. Please help me. Thanks.

tomash999 06-08-2023 08:54 PM

It depends on the version. See the examples in the documentation

```
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/OWNER/R...trees/TREE_SHA
```
Get a tree (docs.github.com/en/rest/git/trees):
https://docs.github.com/en/rest/git/...-28#get-a-tree

Quote:

Versions will be named based on the date when they were released. For example, if we release a new version on December 25, 2025, we would call that version 2025-12-25.

When we release a new version, the previous version(s) will still be available, so you won’t be forced to upgrade right away.

Picking what version you want to use is easy. You just specify the version you want to use on a request-by-request basis using the X-GitHub-Api-Version header.

In our API documentation, you can pick which version of the docs you want to view using the version picker.


All times are GMT -7. The time now is 05:14 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc