I am looking for a web developer (GitHub API)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • medivhcodes
    Registered User
    • Jan 2023
    • 4

    #1

    Hiring 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
    Registered User
    • Jan 2023
    • 4

    #2
    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.

    Comment

    • medivhcodes
      Registered User
      • Jan 2023
      • 4

      #3
      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.

      Comment

      • tomash999
        Confirmed User
        • Sep 2015
        • 88

        #4
        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

        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.

        Comment

        Working...