Giter VIP home page Giter VIP logo

freelancer-sdk-python's People

Contributors

amitsaha avatar aywrite avatar dependabot[bot] avatar gabrnavarro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freelancer-sdk-python's Issues

Receive typing notification

Hi,
Is there a way to check if freelancer who is talking to me in some thread is typing or not.

I know freelancer.com API allow me to send typing notification but I need to receive this typing notification to know if he is typing then I know not to send messages.

'from_time' parameter does not work when searching for projects

from freelancersdk.session import Session
from freelancersdk.resources.projects.projects import search_projects
from freelancersdk.resources.projects.helpers import create_search_projects_filter


session = Session(oauth_token='MY TOKEN')
search_filter = create_search_projects_filter(
    from_time=1754814393,  # This is year 2025
)

result = search_projects(
    session,
    query='python',
    active_only=True,
    search_filter=search_filter,
)

print(result['total_count'])  # returns 181

Python 3.6
freelancersdk == 0.1.19

Messaging getters

[] List Messages: (suggested function name: get_messages)
[] Search for Messages: (suggested function name: search_messages)
[] List Threads: (suggested function name: get_threads)

Discussion new versioning

The current 0.1.x version works as follows:

  • 0.1 is the API version
  • x is the SDK release

But, what if we (and we will) need to make backward incompatible SDK changes?

Status information about the user is not returned

I have troubles obtaining some user information associated with a project with the following query:

query = create_get_projects_object(
    project_ids=[
        16590904
    ],
    project_details=create_get_projects_project_details_object(
        attachments=True,
    ),
    user_details=create_get_projects_user_details_object(
        basic=True,
        financial=True,
        responsiveness=True,
        display_info=True,
        balance=True
    ),
)

The response has the following status field for the employer.

   'status': {'deposit_made': None,
    'email_verified': True,
    'facebook_connected': None,
    'identity_verified': None,
    'payment_verified': None,
    'phone_verified': None,
    'profile_complete': None},

But when taking a look on the web page, the employer seems to have it's payment verified.

image

Am I missing a parameter for `create_get_projects_user_details_object``or how do I get this field populated with actual values?

Users Getters

[] Search for Freelancers: (suggested function name: search_freelancers)
[] Information About Self: (suggested function name: get_self)
[] Get users
[] Get a specific user details

"from_time" and "to_time" format

Hi,
I can't understand the time format used for the values of "from-time" and "to-time" parameters. Could anyone explain how I can convert date and time to the proper format? What's the logic behind the number like 1481179011?!

Thanks for your help.

Reimplement how we return responses

Currently we return responses from the various functions as ad-hoc custom classes which are dynamically created based on what we get from the API.

I think this needs to be improved. Look at other SDKs and see what they do and see if we can adopt it.

TBD

How to send multiple queries at a time

Hi, is it any way to fetch the jobs with multiple keywords at a time? For example I am trying to fetch MATLAB and python jobs like
para={ 'query':['python','Matlab'], #'query':'Matlab', 'sort_field':'time_updated', 'limit':10}
But it only fetches the jobs with last keyword.

trying to run sample to make a new bid

here is what error I get :
File "C:\Users\gura\AppData\Local\Programs\Python\Python37\lib\site-packages\freelancersdk\resources\users\users.py", line 14, in get_self_user_id
response = make_get_request(session, 'self')
TypeError: make_get_request() missing 1 required positional argument: 'params_data'

so ...
in users.py you have :make_get_request(session, 'self') <-two parameters passed

in definition of make_get_request you have :

def make_post_request(session, endpoint, json_data): <- three parameters required.

sorry Im just begginer so can you tell me if Im doing something wrong?

Update User Guide

Will fill in later

[] Talk about search and get functionalities
[] Add logo

Contest Getters

[] List contests: (suggested function name: get_contests)
[] Get contest by ID
[] Search for all contests
[] Search for active contests

Extract all user information

Hi

I wonder if it is possible to get the all history of a user like to which jobs he has applied so far in his life time, which is assigned to him, which jobs are assigned to others, which jobs are closed etc.

Input attributes goes unrecognized

Hi, I am trying to parse the projects with specific key skills after each second and following the search_projects example from the repository. When I tried to pass other search queries except in example, it showed error as
search_data = { 'query': 'python', 'project_types': 'fixed', 'limit': 100, 'offset': 0, # 'from_time' : 1481179011, 'countries' : 'au' #'active_only': False, #'sort_field' : 'time_updated', }

Error:
TypeError: search_projects() got an unexpected keyword argument 'countries'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.